Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.63e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007727/0.007753, allocations: 5.018 MB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.01183, allocations: 1.771 MB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.01222, allocations: 20 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.01616, allocations: 1.586 MB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.0178, allocations: 0.5824 MB / 281.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.01872, allocations: 398.9 kB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.01977, allocations: 0.8324 MB / 282.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.02103, allocations: 0.7393 MB / 283.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007535/0.02178, allocations: 0.5183 MB / 283.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.02233, allocations: 371 kB / 284 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.02245, allocations: 80 kB / 284.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.02297, allocations: 239.6 kB / 284.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.02315, allocations: 195.2 kB / 284.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.0235, allocations: 287.2 kB / 284.8 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.02506, allocations: 1.184 MB / 286 MB, free: 3.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.02507, allocations: 0 / 286 MB, free: 3.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02507, allocations: 3.938 kB / 286 MB, free: 3.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.02508, allocations: 0 / 286 MB, free: 3.918 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.003483/0.02856, allocations: 1.289 MB / 287.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.0286, allocations: 11.98 kB / 287.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.03336, allocations: 0.8002 MB / 288.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.0341, allocations: 364.5 kB / 288.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.03418, allocations: 74.38 kB / 288.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.03436, allocations: 96.38 kB / 288.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.03633, allocations: 1.015 MB / 289.6 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.03636, allocations: 4.141 kB / 289.6 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.03646, allocations: 40.38 kB / 289.7 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.03649, allocations: 27.94 kB / 289.7 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1142/0.1507, allocations: 0.9145 MB / 290.6 MB, free: 28.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.1546, allocations: 2.847 MB / 293.5 MB, free: 26.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.1564, allocations: 0.744 MB / 294.2 MB, free: 26.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.1569, allocations: 254.5 kB / 294.5 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.157, allocations: 26.66 kB / 294.5 MB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.157, allocations: 49.64 kB / 294.5 MB, free: 26.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.157, allocations: 0.5312 kB / 294.5 MB, free: 26.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001464/0.1585, allocations: 0.7408 MB / 295.3 MB, free: 25.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1585, allocations: 115.2 kB / 295.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1587, allocations: 264.6 kB / 295.6 MB, free: 25.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.1588, allocations: 36.61 kB / 295.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1589, allocations: 394.5 kB / 296.1 MB, free: 25.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1591, allocations: 234.1 kB / 296.3 MB, free: 25.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.1593, allocations: 137.1 kB / 296.4 MB, free: 25.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.1593, allocations: 354.3 kB / 296.8 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.1597, allocations: 225.5 kB / 297 MB, free: 24.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.1602, allocations: 441.4 kB / 297.4 MB, free: 24.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008572/0.1611, allocations: 0.6966 MB / 298.1 MB, free: 23.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1611, allocations: 2.25 kB / 298.1 MB, free: 23.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001202/0.1623, allocations: 0.7883 MB / 298.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1623, allocations: 7.25 kB / 298.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1623, allocations: 6.906 kB / 298.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.1623, allocations: 10.92 kB / 298.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.163, allocations: 192.1 kB / 299.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.163, allocations: 20.2 kB / 299.1 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.1634, allocations: 80.52 kB / 299.2 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.1635, allocations: 33.05 kB / 299.3 MB, free: 23.48 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.0002279/0.1637, allocations: 219.6 kB / 299.5 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1638, allocations: 59.67 kB / 299.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.165, allocations: 0.6483 MB / 300.2 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.165, allocations: 9.391 kB / 300.2 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.165, allocations: 5.5 kB / 300.2 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.165, allocations: 6.375 kB / 300.2 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.167, allocations: 1.26 MB / 301.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.167, allocations: 0 / 301.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.1676, allocations: 141.2 kB / 301.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1676, allocations: 10.16 kB / 301.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.1676, allocations: 15.7 kB / 301.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.1676, allocations: 2.75 kB / 301.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1676, allocations: 5.75 kB / 301.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.1691, allocations: 1.147 MB / 302.8 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1691, allocations: 54.78 kB / 302.8 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.1692, allocations: 13.09 kB / 302.8 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.1695, allocations: 24.53 kB / 302.9 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1696, allocations: 48.02 kB / 302.9 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.1697, allocations: 21.03 kB / 302.9 MB, free: 21.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1698, allocations: 171.2 kB / 303.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1698, allocations: 0 / 303.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007804/0.1706, allocations: 232.5 kB / 303.3 MB, free: 21.39 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.0002282/0.1708, allocations: 155.5 kB / 303.5 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009457/0.1718, allocations: 0.5741 MB / 304 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1718, allocations: 0 / 304 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.1721, allocations: 269.1 kB / 304.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.1727, allocations: 45.89 kB / 304.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1743, allocations: 1.216 MB / 305.6 MB, free: 20.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1745, allocations: 307.9 kB / 305.9 MB, free: 20.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.1747, allocations: 77.97 kB / 305.9 MB, free: 20.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1749, allocations: 51.17 kB / 306 MB, free: 20.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1749, allocations: 0 / 306 MB, free: 20.12 MB / 266.7 MB Notification: Performance of Templates: time 0.008302/0.1832, allocations: 4.376 MB / 310.4 MB, free: 16.24 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.5272496660472825]