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.001456/0.001456, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001093/0.001093, allocations: 161 kB / 24.56 MB, free: 16 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 0.9488/0.9488, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.442e-06/1.442e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.913e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00489/0.004909, allocations: 5.486 MB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.007799, allocations: 1.814 MB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004095/0.008209, allocations: 23.94 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.01015, allocations: 1.715 MB / 282 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.01119, allocations: 0.5942 MB / 282.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.01174, allocations: 402.8 kB / 283 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.01246, allocations: 0.8363 MB / 283.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000898/0.01336, allocations: 0.7393 MB / 284.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.01388, allocations: 0.5145 MB / 285.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.01423, allocations: 387 kB / 285.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.01432, allocations: 80 kB / 285.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.01469, allocations: 235.7 kB / 285.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.01479, allocations: 191.3 kB / 286 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.01498, allocations: 287.3 kB / 286.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008146/0.01579, allocations: 0.7782 MB / 287 MB, free: 3.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01579, allocations: 0 / 287 MB, free: 3.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01579, allocations: 4 kB / 287 MB, free: 3.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.01581, allocations: 0 / 287 MB, free: 3.406 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.00202/0.01783, allocations: 1.412 MB / 288.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01787, allocations: 12.03 kB / 288.5 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.02147, allocations: 0.8041 MB / 289.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.02203, allocations: 366.6 kB / 289.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.02208, allocations: 74.38 kB / 289.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.02222, allocations: 100.3 kB / 289.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1344/0.1566, allocations: 0.7989 MB / 290.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.1567, allocations: 10.81 kB / 290.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.1567, allocations: 40 kB / 290.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.1567, allocations: 23.95 kB / 290.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1578, allocations: 0.5372 MB / 291.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.161, allocations: 2.909 MB / 294.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1622, allocations: 0.7655 MB / 294.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.1624, allocations: 183 kB / 295 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.1625, allocations: 34.81 kB / 295.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1625, allocations: 47.52 kB / 295.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.184e-06/0.1625, allocations: 2.219 kB / 295.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0007908/0.1633, allocations: 0.512 MB / 295.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1633, allocations: 111.5 kB / 295.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1636, allocations: 318.3 kB / 296.1 MB, free: 17.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1636, allocations: 37.92 kB / 296.1 MB, free: 17.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1637, allocations: 444.9 kB / 296.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1638, allocations: 235.5 kB / 296.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.164, allocations: 147.2 kB / 296.9 MB, free: 16.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.1641, allocations: 0.5199 MB / 297.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1643, allocations: 130.2 kB / 297.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1646, allocations: 432.7 kB / 298 MB, free: 15.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.1651, allocations: 0.607 MB / 298.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1651, allocations: 2.125 kB / 298.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007715/0.1659, allocations: 0.6068 MB / 299.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1659, allocations: 8 kB / 299.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1659, allocations: 10.22 kB / 299.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.1659, allocations: 10.92 kB / 299.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.1663, allocations: 190.8 kB / 299.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.1664, allocations: 12.05 kB / 299.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1666, allocations: 78.81 kB / 299.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1666, allocations: 42.03 kB / 299.5 MB, free: 15.43 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.0001213/0.1668, allocations: 202.6 kB / 299.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.1668, allocations: 63.02 kB / 299.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.1675, allocations: 0.4957 MB / 300.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1675, allocations: 7.5 kB / 300.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1675, allocations: 1 kB / 300.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1675, allocations: 4.5 kB / 300.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1688, allocations: 1.174 MB / 301.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1688, allocations: 0 / 301.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.1691, allocations: 137.7 kB / 301.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1691, allocations: 3.938 kB / 301.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.1691, allocations: 15.19 kB / 301.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1691, allocations: 10.12 kB / 301.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1691, allocations: 1.75 kB / 301.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.1699, allocations: 0.9674 MB / 302.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.17, allocations: 46.2 kB / 302.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.17, allocations: 13.52 kB / 302.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1702, allocations: 26.34 kB / 302.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.1702, allocations: 51.03 kB / 302.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1703, allocations: 20.95 kB / 302.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.1704, allocations: 197.9 kB / 303 MB, free: 13.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 303 MB, free: 13.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000543/0.1709, allocations: 230.9 kB / 303.2 MB, free: 13.61 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.0002238/0.1711, allocations: 147.5 kB / 303.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.1717, allocations: 455.1 kB / 303.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1717, allocations: 0 / 303.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.1719, allocations: 225.7 kB / 304 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1723, allocations: 41.23 kB / 304 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1738, allocations: 1.156 MB / 305.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.1739, allocations: 145.6 kB / 305.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.1741, allocations: 73.72 kB / 305.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1742, allocations: 51.75 kB / 305.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1742, allocations: 0 / 305.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.006528/0.1807, allocations: 4.403 MB / 309.9 MB, free: 11.5 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","",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.194428877905011]