Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 87.67 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.57e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008713/0.008739, allocations: 5.42 MB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.01299, allocations: 1.81 MB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006734/0.01367, allocations: 23.94 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004454/0.01812, allocations: 1.703 MB / 281.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.02032, allocations: 0.598 MB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.02134, allocations: 410.8 kB / 282.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.02264, allocations: 0.8246 MB / 283.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.02411, allocations: 0.7432 MB / 283.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.02517, allocations: 0.5106 MB / 284.4 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.02581, allocations: 383 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.02596, allocations: 80 kB / 284.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.02655, allocations: 239.6 kB / 285 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.02675, allocations: 195.2 kB / 285.2 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.02714, allocations: 283.3 kB / 285.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.02876, allocations: 1.199 MB / 286.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02877, allocations: 4 kB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.02877, allocations: 0 / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.02879, allocations: 0 / 286.7 MB, free: 3.336 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.003723/0.03251, allocations: 1.463 MB / 288.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.03255, allocations: 8.031 kB / 288.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.03741, allocations: 0.808 MB / 289 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.03806, allocations: 367.4 kB / 289.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.03813, allocations: 70.38 kB / 289.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.03829, allocations: 96.38 kB / 289.5 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1109/0.1492, allocations: 1.059 MB / 290.6 MB, free: 27.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.1493, allocations: 2.953 kB / 290.6 MB, free: 27.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.1493, allocations: 41.11 kB / 290.6 MB, free: 27.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.1494, allocations: 25.59 kB / 290.6 MB, free: 27.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.1509, allocations: 0.8874 MB / 291.5 MB, free: 27.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/0.1552, allocations: 3.271 MB / 294.8 MB, free: 25.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.157, allocations: 0.7623 MB / 295.6 MB, free: 25.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.1574, allocations: 263.2 kB / 295.8 MB, free: 25.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.1575, allocations: 31.66 kB / 295.9 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1576, allocations: 47.5 kB / 295.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.404e-06/0.1576, allocations: 2 kB / 295.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001326/0.1589, allocations: 0.7018 MB / 296.6 MB, free: 25.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1589, allocations: 118.9 kB / 296.7 MB, free: 25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1592, allocations: 377 kB / 297.1 MB, free: 24.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1593, allocations: 36.62 kB / 297.1 MB, free: 24.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1594, allocations: 448.4 kB / 297.6 MB, free: 24.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1596, allocations: 248.3 kB / 297.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.1598, allocations: 166.3 kB / 298 MB, free: 24.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1599, allocations: 0.5388 MB / 298.5 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.1603, allocations: 212.7 kB / 298.7 MB, free: 23.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.1608, allocations: 0.5167 MB / 299.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/0.1617, allocations: 0.7816 MB / 300 MB, free: 22.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.1617, allocations: 9.156 kB / 300 MB, free: 22.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001247/0.1629, allocations: 0.7659 MB / 300.8 MB, free: 22.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1629, allocations: 12.59 kB / 300.8 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1629, allocations: 6.25 kB / 300.8 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.163, allocations: 10.91 kB / 300.8 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.1637, allocations: 189 kB / 301 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.1637, allocations: 16.3 kB / 301 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.1641, allocations: 74.41 kB / 301.1 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.1641, allocations: 37.53 kB / 301.1 MB, free: 22.18 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.0002372/0.1644, allocations: 264 kB / 301.4 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.1645, allocations: 63.33 kB / 301.4 MB, free: 21.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.1656, allocations: 0.6272 MB / 302.1 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1656, allocations: 6.875 kB / 302.1 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1656, allocations: 2.359 kB / 302.1 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1656, allocations: 4.469 kB / 302.1 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.1677, allocations: 1.442 MB / 303.5 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1677, allocations: 1.094 kB / 303.5 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.1683, allocations: 139.2 kB / 303.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1683, allocations: 3.656 kB / 303.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.1684, allocations: 15.42 kB / 303.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1684, allocations: 2.656 kB / 303.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1684, allocations: 6.906 kB / 303.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1697, allocations: 1.229 MB / 304.9 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1697, allocations: 52.48 kB / 305 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.1698, allocations: 12.48 kB / 305 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.1701, allocations: 17.45 kB / 305 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1702, allocations: 60.42 kB / 305.1 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.1703, allocations: 20.03 kB / 305.1 MB, free: 20.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1704, allocations: 226 kB / 305.3 MB, free: 19.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 305.3 MB, free: 19.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007055/0.1711, allocations: 230.9 kB / 305.5 MB, free: 19.88 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.0002116/0.1713, allocations: 143.5 kB / 305.7 MB, free: 19.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008864/0.1722, allocations: 0.6076 MB / 306.3 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1722, allocations: 0 / 306.3 MB, free: 19.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.1726, allocations: 303.5 kB / 306.6 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1731, allocations: 47.92 kB / 306.6 MB, free: 19.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1745, allocations: 1.229 MB / 307.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1748, allocations: 304.6 kB / 308.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.175, allocations: 80.52 kB / 308.2 MB, free: 17.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1751, allocations: 56.11 kB / 308.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1751, allocations: 0 / 308.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of Templates: time 0.009225/0.1844, allocations: 4.394 MB / 312.7 MB, free: 13.83 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.718558744993061]