Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9084/0.9084, allocations: 173.3 MB / 201.1 MB, free: 9.359 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.356e-05, allocations: 6.312 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.01197/0.01199, allocations: 5.471 MB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.0179, allocations: 1.756 MB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.01822, allocations: 20 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005632/0.02385, allocations: 1.719 MB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.02514, allocations: 0.738 MB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.02868, allocations: 283.3 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.02945, allocations: 0.8325 MB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009877/0.03044, allocations: 0.7431 MB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.03095, allocations: 0.5105 MB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.03439, allocations: 387 kB / 280.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.03449, allocations: 76 kB / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.03492, allocations: 239.6 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.03503, allocations: 187.3 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.03526, allocations: 287.3 kB / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.03611, allocations: 0.7666 MB / 282 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.03612, allocations: 0 / 282 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03612, allocations: 4 kB / 282 MB, free: 8.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.03613, allocations: 3.938 kB / 282 MB, free: 8.375 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00543/0.04156, allocations: 1.412 MB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.04159, allocations: 12.92 kB / 283.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006685/0.04828, allocations: 0.847 MB / 284.3 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.04876, allocations: 355.4 kB / 284.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.04881, allocations: 74.38 kB / 284.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.04893, allocations: 104.4 kB / 284.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.05068, allocations: 0.798 MB / 285.6 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.05071, allocations: 192 / 285.6 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.05078, allocations: 40.36 kB / 285.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.05081, allocations: 27.94 kB / 285.6 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.05176, allocations: 0.5346 MB / 286.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.05461, allocations: 2.897 MB / 289.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.05612, allocations: 0.7576 MB / 289.8 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.05641, allocations: 187.9 kB / 290 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.05648, allocations: 20.66 kB / 290 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1136/0.1701, allocations: 53.97 kB / 290.1 MB, free: 22.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 8.887e-06/0.1701, allocations: 0 / 290.1 MB, free: 22.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0008998/0.171, allocations: 0.4966 MB / 290.6 MB, free: 22.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.171, allocations: 113.2 kB / 290.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1712, allocations: 324 kB / 291 MB, free: 22.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1713, allocations: 36.05 kB / 291 MB, free: 22.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1714, allocations: 438.3 kB / 291.5 MB, free: 22.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1715, allocations: 236.8 kB / 291.7 MB, free: 22.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1716, allocations: 147.5 kB / 291.8 MB, free: 22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.1717, allocations: 0.5221 MB / 292.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.1719, allocations: 128.9 kB / 292.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1722, allocations: 426.5 kB / 292.9 MB, free: 21.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.1727, allocations: 0.5978 MB / 293.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1727, allocations: 3.75 kB / 293.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000671/0.1733, allocations: 0.6028 MB / 294.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1734, allocations: 7.719 kB / 294.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1734, allocations: 7.469 kB / 294.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1734, allocations: 10.66 kB / 294.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.1738, allocations: 191.7 kB / 294.3 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.1738, allocations: 15.89 kB / 294.3 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1741, allocations: 81.97 kB / 294.4 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.1741, allocations: 34.48 kB / 294.5 MB, free: 20.72 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0001362/0.1742, allocations: 203.3 kB / 294.7 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.1743, allocations: 62.73 kB / 294.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.1749, allocations: 0.4944 MB / 295.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1749, allocations: 8.594 kB / 295.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1749, allocations: 4.453 kB / 295.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1749, allocations: 4.297 kB / 295.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.1762, allocations: 1.165 MB / 296.4 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1762, allocations: 1.062 kB / 296.4 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.1765, allocations: 135.6 kB / 296.5 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1765, allocations: 3.344 kB / 296.5 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1765, allocations: 19.8 kB / 296.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1765, allocations: 2.781 kB / 296.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1765, allocations: 2.766 kB / 296.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.1773, allocations: 0.9616 MB / 297.5 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.1774, allocations: 48.11 kB / 297.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.1774, allocations: 19.39 kB / 297.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1776, allocations: 22.98 kB / 297.6 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.1777, allocations: 45.62 kB / 297.7 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.1777, allocations: 18.53 kB / 297.7 MB, free: 19.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.1778, allocations: 200.4 kB / 297.9 MB, free: 19.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1778, allocations: 0 / 297.9 MB, free: 19.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.1784, allocations: 221.5 kB / 298.1 MB, free: 19.51 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * 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.0002172/0.1786, allocations: 148.9 kB / 298.2 MB, free: 19.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.1792, allocations: 451.8 kB / 298.7 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1792, allocations: 1.406 kB / 298.7 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1794, allocations: 218.9 kB / 298.9 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1798, allocations: 55.31 kB / 298.9 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1815, allocations: 1.149 MB / 300.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1816, allocations: 142.8 kB / 300.2 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.1818, allocations: 76.64 kB / 300.3 MB, free: 18.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1819, allocations: 51 kB / 300.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1819, allocations: 0 / 300.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of Templates: time 0.007457/0.1894, allocations: 4.629 MB / 305 MB, free: 18.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.88547802856192]