Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 101.7 kB / 15.98 MB, free: 6.344 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.002745/0.002745, allocations: 194.2 kB / 16.91 MB, free: 6.184 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.947/1.947, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4359/0.4359, allocations: 43.49 MB / 313.6 MB, free: 8.559 MB / 254.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.00149/0.00149, allocations: 64.38 kB / 382.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1648, allocations: 57.79 MB / 440 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004102/0.1689, allocations: 2.567 MB / 442.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1701, allocations: 0.6359 MB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1703, allocations: 7.938 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1704, allocations: 35.77 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1706, allocations: 55.53 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1709, allocations: 55.88 kB / 443.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1712, allocations: 294.8 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1714, allocations: 84.58 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1716, allocations: 111.6 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1718, allocations: 119.5 kB / 444 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.1718, allocations: 24 kB / 444 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.1719, allocations: 20 kB / 444 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1719, allocations: 59.77 kB / 444.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1721, allocations: 123.4 kB / 444.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1724, allocations: 287.2 kB / 444.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1724, allocations: 0 / 444.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1724, allocations: 0 / 444.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1724, allocations: 0 / 444.5 MB, free: 10.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008553/0.1733, allocations: 0.5224 MB / 445 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1733, allocations: 15.89 kB / 445 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.1734, allocations: 28.66 kB / 445 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1737, allocations: 252.5 kB / 445.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1737, allocations: 12.81 kB / 445.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.1738, allocations: 20.38 kB / 445.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1742, allocations: 199.5 kB / 445.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1742, allocations: 3.938 kB / 445.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1742, allocations: 8 kB / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1743, allocations: 4 kB / 445.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1745, allocations: 145.7 kB / 445.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1758, allocations: 0.8025 MB / 446.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.176, allocations: 110.4 kB / 446.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.1761, allocations: 44.84 kB / 446.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1762, allocations: 0 / 446.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.1762, allocations: 42.56 kB / 446.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1762, allocations: 0 / 446.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001719/0.1779, allocations: 0.7136 MB / 447.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.178, allocations: 55.41 kB / 447.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.1782, allocations: 211.7 kB / 447.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1782, allocations: 33.7 kB / 447.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1784, allocations: 167.8 kB / 447.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.1784, allocations: 55.25 kB / 447.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.1785, allocations: 45.61 kB / 447.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1787, allocations: 334.8 kB / 448.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1788, allocations: 63.91 kB / 448.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.179, allocations: 101.1 kB / 448.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.1792, allocations: 180.9 kB / 448.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1793, allocations: 0 / 448.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005139/0.1798, allocations: 278.2 kB / 448.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1798, allocations: 8 kB / 448.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.1798, allocations: 0 / 448.9 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.1801, allocations: 73.83 kB / 448.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1803, allocations: 36.56 kB / 449 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.1827, allocations: 3.017 MB / 452 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1829, allocations: 11.98 kB / 452 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1829, allocations: 8 kB / 452 MB, free: 2.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.1831, allocations: 137.8 kB / 452.1 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.1832, allocations: 23.81 kB / 452.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.1832, allocations: 21.86 kB / 452.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1832, allocations: 7.875 kB / 452.2 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1832, allocations: 4 kB / 452.2 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1832, allocations: 0 / 452.2 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.1836, allocations: 289.4 kB / 452.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1836, allocations: 0 / 452.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.1837, allocations: 19.98 kB / 452.5 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.1839, allocations: 65.67 kB / 452.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.1839, allocations: 8 kB / 452.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2971/0.481, allocations: 3.002 MB / 455.6 MB, free: 47.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4811, allocations: 0.8125 kB / 455.6 MB, free: 47.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.4818, allocations: 396.6 kB / 456 MB, free: 46.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.482, allocations: 94.7 kB / 456.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.482, allocations: 4.781 kB / 456.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4822, allocations: 22.92 kB / 456.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.4823, allocations: 16.11 kB / 456.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.4823, allocations: 4.672 kB / 456.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.4825, allocations: 154.9 kB / 456.3 MB, free: 46.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4825, allocations: 0 / 456.3 MB, free: 46.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.4829, allocations: 65.53 kB / 456.3 MB, free: 46.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.4831, allocations: 97.75 kB / 456.4 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.4837, allocations: 419.2 kB / 456.8 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4837, allocations: 0 / 456.8 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.4841, allocations: 326.8 kB / 457.1 MB, free: 46.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.4845, allocations: 31.89 kB / 457.2 MB, free: 46.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4856, allocations: 0.5996 MB / 457.8 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.4859, allocations: 0.7549 MB / 458.5 MB, free: 45.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.486, allocations: 18.52 kB / 458.5 MB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.486, allocations: 16.94 kB / 458.6 MB, free: 45.19 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.486, allocations: 0 / 458.6 MB, free: 45.19 MB / 382.1 MB Notification: Performance of Templates: time 0.007182/0.4932, allocations: 2.649 MB / 461.2 MB, free: 45.08 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches