Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 112.6 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 51.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 46.62 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006189/0.1363, allocations: 3.753 MB / 330.5 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1393, allocations: 1.045 MB / 331.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.1396, allocations: 15.94 kB / 331.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.1401, allocations: 123.2 kB / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1411, allocations: 274.7 kB / 332 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1414, allocations: 107.9 kB / 332.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.1432, allocations: 1.448 MB / 333.5 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.1448, allocations: 1.142 MB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1462, allocations: 0.6425 MB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.1475, allocations: 0.7901 MB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.1478, allocations: 160 kB / 336.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.148, allocations: 160 kB / 336.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.1485, allocations: 470.7 kB / 336.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.1496, allocations: 0.7389 MB / 337.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.1521, allocations: 2.045 MB / 339.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1522, allocations: 0 / 339.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1522, allocations: 0 / 339.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.087e-05/0.1522, allocations: 0 / 339.7 MB, free: 7.816 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.0039/0.1561, allocations: 1.684 MB / 341.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.1562, allocations: 8.031 kB / 341.4 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.1565, allocations: 147.2 kB / 341.5 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.1579, allocations: 0.8267 MB / 342.3 MB, free: 5.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.158, allocations: 94.56 kB / 342.4 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.1582, allocations: 111.9 kB / 342.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.161, allocations: 1.568 MB / 344.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.1611, allocations: 0 / 344.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1612, allocations: 44 kB / 344.1 MB, free: 3.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.1612, allocations: 28 kB / 344.2 MB, free: 3.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.1634, allocations: 1.328 MB / 345.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.171, allocations: 4.318 MB / 349.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.1725, allocations: 1.342 MB / 351.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.1734, allocations: 0.5261 MB / 351.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.1735, allocations: 4.438 kB / 351.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.1735, allocations: 42.94 kB / 351.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/0.1735, allocations: 0 / 351.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001758/0.1753, allocations: 0.8768 MB / 352.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.1755, allocations: 55.84 kB / 352.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.1766, allocations: 0.8282 MB / 353.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.1767, allocations: 29.7 kB / 353.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/0.1773, allocations: 0.5454 MB / 354.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.1775, allocations: 173.5 kB / 354.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.1777, allocations: 106.2 kB / 354.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003464/0.1781, allocations: 390.7 kB / 354.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.1786, allocations: 300.9 kB / 355 MB, free: 7.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.1791, allocations: 398.5 kB / 355.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.1801, allocations: 0.6903 MB / 356.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1801, allocations: 0 / 356.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001287/0.1814, allocations: 0.8142 MB / 356.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1814, allocations: 8 kB / 356.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1815, allocations: 0 / 356.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.1815, allocations: 8 kB / 356.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.1821, allocations: 147.8 kB / 357.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.1821, allocations: 7.938 kB / 357.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.1825, allocations: 71.56 kB / 357.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.1826, allocations: 27.91 kB / 357.2 MB, free: 5.707 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000672/0.1832, allocations: 457.5 kB / 357.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1834, allocations: 71.16 kB / 357.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.1835, allocations: 103 kB / 357.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1835, allocations: 4 kB / 357.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1835, allocations: 0 / 357.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1836, allocations: 3.938 kB / 357.8 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.1864, allocations: 1.947 MB / 359.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.1864, allocations: 15.92 kB / 359.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.1869, allocations: 115.8 kB / 359.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1869, allocations: 4 kB / 359.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.187, allocations: 16.14 kB / 359.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.187, allocations: 8 kB / 359.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.187, allocations: 0 / 359.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.1884, allocations: 1.125 MB / 361 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.1886, allocations: 172.2 kB / 361.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.1887, allocations: 12 kB / 361.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.1891, allocations: 51.95 kB / 361.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1892, allocations: 40.31 kB / 361.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.1893, allocations: 16 kB / 361.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007121/0.19, allocations: 0.5888 MB / 361.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.19, allocations: 0 / 361.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007101/0.1907, allocations: 282.7 kB / 362.2 MB, free: 0.5703 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.1909, allocations: 123.4 kB / 362.3 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1922, allocations: 0.7982 MB / 363.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1922, allocations: 0 / 363.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.1926, allocations: 327 kB / 363.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.1935, allocations: 174.8 kB / 363.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.1972, allocations: 2.774 MB / 366.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/0.1981, allocations: 1.34 MB / 367.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005233/0.1986, allocations: 201.8 kB / 367.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1988, allocations: 59.36 kB / 367.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1988, allocations: 0 / 367.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Templates: time 0.01881/0.2176, allocations: 9.897 MB / 377.8 MB, free: 0.7969 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches