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.0009994/0.0009994, allocations: 79.91 kB / 21.18 MB, free: 3.395 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.001217/0.001217, allocations: 141.1 kB / 24.54 MB, free: 40 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 1.005/1.005, allocations: 173.4 MB / 201.2 MB, free: 9.016 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 3.817e-06/3.817e-06, allocations: 0 / 268 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.906e-05, allocations: 9.766 kB / 268 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006973/0.007012, allocations: 5.468 MB / 273.5 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.01026, allocations: 1.756 MB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.01073, allocations: 24 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.01286, allocations: 1.719 MB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.01427, allocations: 0.7379 MB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.01482, allocations: 279.3 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00087/0.01569, allocations: 0.8437 MB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.01678, allocations: 0.7353 MB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.0174, allocations: 0.5183 MB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.01785, allocations: 387 kB / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.01797, allocations: 76 kB / 280.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.01845, allocations: 227.7 kB / 280.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.01855, allocations: 199.2 kB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.01875, allocations: 287.3 kB / 281.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.01963, allocations: 0.7705 MB / 282 MB, free: 8.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.01964, allocations: 0 / 282 MB, free: 8.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01964, allocations: 0 / 282 MB, free: 8.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.01966, allocations: 0 / 282 MB, free: 8.23 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.002175/0.02183, allocations: 1.408 MB / 283.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.02188, allocations: 12.92 kB / 283.4 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.02442, allocations: 0.847 MB / 284.3 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.02504, allocations: 370.5 kB / 284.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.02508, allocations: 70.38 kB / 284.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.02519, allocations: 100.3 kB / 284.8 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.02622, allocations: 0.7979 MB / 285.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.02625, allocations: 192 / 285.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.02631, allocations: 40.38 kB / 285.6 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.02633, allocations: 27.94 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.02729, allocations: 0.5307 MB / 286.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.03043, allocations: 2.893 MB / 289.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.03185, allocations: 0.7654 MB / 289.8 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1316/0.1634, allocations: 184.3 kB / 290 MB, free: 22.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.1635, allocations: 20.33 kB / 290 MB, free: 22.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1636, allocations: 47.11 kB / 290.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 3.025e-06/0.1636, allocations: 0 / 290.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001279/0.1649, allocations: 0.5038 MB / 290.6 MB, free: 22.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1649, allocations: 110.9 kB / 290.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.1652, allocations: 319.6 kB / 291 MB, free: 21.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.1653, allocations: 38.48 kB / 291 MB, free: 21.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.1655, allocations: 442.9 kB / 291.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.1657, allocations: 237.9 kB / 291.7 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.1659, allocations: 148 kB / 291.9 MB, free: 21.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.166, allocations: 0.521 MB / 292.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1663, allocations: 126.7 kB / 292.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1667, allocations: 429.2 kB / 292.9 MB, free: 20.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.1675, allocations: 0.6026 MB / 293.5 MB, free: 20.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1675, allocations: 1.938 kB / 293.5 MB, free: 20.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00105/0.1685, allocations: 0.6035 MB / 294.1 MB, free: 20.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1685, allocations: 8.984 kB / 294.1 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1686, allocations: 9.781 kB / 294.1 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.1686, allocations: 10.38 kB / 294.2 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.1692, allocations: 184.1 kB / 294.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.1693, allocations: 15.42 kB / 294.4 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.1696, allocations: 78.52 kB / 294.4 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.1697, allocations: 35.08 kB / 294.5 MB, free: 20 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.0002189/0.1699, allocations: 214.8 kB / 294.7 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1701, allocations: 59.38 kB / 294.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.171, allocations: 498.7 kB / 295.2 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.171, allocations: 6.656 kB / 295.2 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.171, allocations: 5.703 kB / 295.2 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.171, allocations: 5.875 kB / 295.2 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.1731, allocations: 1.164 MB / 296.4 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1731, allocations: 1.156 kB / 296.4 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.1736, allocations: 142.5 kB / 296.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.1736, allocations: 3.531 kB / 296.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.1737, allocations: 19.84 kB / 296.6 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1737, allocations: 3.406 kB / 296.6 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1737, allocations: 0.7031 kB / 296.6 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1748, allocations: 0.9621 MB / 297.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.1749, allocations: 50.28 kB / 297.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.175, allocations: 14.17 kB / 297.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1753, allocations: 24.3 kB / 297.6 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1754, allocations: 46.23 kB / 297.7 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.1754, allocations: 19.28 kB / 297.7 MB, free: 18.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1755, allocations: 199.5 kB / 297.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1755, allocations: 0 / 297.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008375/0.1764, allocations: 222.3 kB / 298.1 MB, free: 18.8 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.000269/0.1767, allocations: 149.7 kB / 298.2 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008705/0.1775, allocations: 451.7 kB / 298.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1775, allocations: 0 / 298.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.1779, allocations: 219.7 kB / 298.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.1785, allocations: 53.28 kB / 298.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.1806, allocations: 1.151 MB / 300.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1807, allocations: 141.7 kB / 300.2 MB, free: 18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.1809, allocations: 74.34 kB / 300.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.181, allocations: 50.52 kB / 300.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.181, allocations: 0 / 300.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of Templates: time 0.006968/0.188, allocations: 4.227 MB / 304.6 MB, free: 17.52 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: 3.0208286843262613]