Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009212, allocations: 94.41 kB / 17.35 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.001142/0.001142, allocations: 170.2 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005278/0.0005278, allocations: 8.188 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1682, allocations: 61.94 MB / 472.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003771/0.172, allocations: 2.235 MB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1738, allocations: 0.5883 MB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.1743, allocations: 4 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1747, allocations: 27.77 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.1752, allocations: 63.47 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.1757, allocations: 59.92 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006791/0.1764, allocations: 282.7 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1767, allocations: 65.03 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.177, allocations: 95.62 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1773, allocations: 115.4 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.1774, allocations: 12 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.1775, allocations: 12 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.1775, allocations: 31.84 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1777, allocations: 141.1 kB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1781, allocations: 263.2 kB / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1781, allocations: 0 / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1781, allocations: 0 / 476.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1781, allocations: 0 / 476.2 MB, free: 9.309 MB / 350.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.001037/0.1791, allocations: 0.503 MB / 476.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1792, allocations: 8.031 kB / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1793, allocations: 32.56 kB / 476.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.1797, allocations: 235.8 kB / 477 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.1798, allocations: 12.81 kB / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.1798, allocations: 28.38 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.1803, allocations: 199.6 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1803, allocations: 0 / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1804, allocations: 8 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1804, allocations: 4 kB / 477.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.1807, allocations: 145.7 kB / 477.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1823, allocations: 0.822 MB / 478.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1826, allocations: 102.5 kB / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1827, allocations: 44.84 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1827, allocations: 0 / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.1828, allocations: 38.69 kB / 478.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1828, allocations: 7.938 kB / 478.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002015/0.1848, allocations: 0.7576 MB / 479.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1848, allocations: 55.41 kB / 479.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1851, allocations: 211.7 kB / 479.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1851, allocations: 29.7 kB / 479.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1853, allocations: 175.7 kB / 479.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.1853, allocations: 51.27 kB / 479.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1854, allocations: 21.7 kB / 479.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1855, allocations: 334.8 kB / 480 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1857, allocations: 63.97 kB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1858, allocations: 109.1 kB / 480.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.1862, allocations: 187.2 kB / 480.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1862, allocations: 0 / 480.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005896/0.1868, allocations: 293.4 kB / 480.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1868, allocations: 8 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1868, allocations: 3.938 kB / 480.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.1871, allocations: 65.67 kB / 480.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1873, allocations: 31.98 kB / 480.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.1899, allocations: 2.808 MB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1901, allocations: 12.03 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1901, allocations: 19.97 kB / 483.6 MB, free: 1.316 MB / 350.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.0001819/0.1903, allocations: 134.4 kB / 483.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.1904, allocations: 19.81 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.1905, allocations: 25.81 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1905, allocations: 3.984 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.1905, allocations: 4 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1905, allocations: 0 / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.1909, allocations: 281.5 kB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1909, allocations: 3.984 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.191, allocations: 20 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.1912, allocations: 69.66 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1912, allocations: 3.938 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.1936, allocations: 2.8 MB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1936, allocations: 0.6562 kB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.1943, allocations: 408.8 kB / 487.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1944, allocations: 92.86 kB / 487.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1944, allocations: 4 kB / 487.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1946, allocations: 23.98 kB / 487.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.1947, allocations: 19.97 kB / 487.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1947, allocations: 4 kB / 487.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1948, allocations: 156.2 kB / 487.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1948, allocations: 0 / 487.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.1952, allocations: 64 kB / 487.7 MB, free: 12.84 MB / 366.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.0001179/0.1953, allocations: 97.55 kB / 487.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.196, allocations: 417.2 kB / 488.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1961, allocations: 4.312 kB / 488.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.1965, allocations: 329.2 kB / 488.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1969, allocations: 31.92 kB / 488.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1981, allocations: 0.648 MB / 489.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1985, allocations: 0.7479 MB / 490 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1987, allocations: 21.92 kB / 490 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.1987, allocations: 19.44 kB / 490 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1987, allocations: 0 / 490 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007013/0.2057, allocations: 2.496 MB / 492.5 MB, free: 7.957 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches