Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001953/0.001953, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.002133/0.002133, allocations: 141.6 kB / 24.89 MB, free: 8.781 MB / 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.8932/0.8932, allocations: 173.4 MB / 201.5 MB, free: 9.168 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.638e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006694/0.00671, allocations: 5.738 MB / 274.2 MB, free: 396 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.01066, allocations: 2.106 MB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.01116, allocations: 47.69 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.01207, allocations: 393.3 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.01358, allocations: 0.5977 MB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.01404, allocations: 223.7 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.01632, allocations: 2.302 MB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.01774, allocations: 1.174 MB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.02002, allocations: 1.613 MB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.0218, allocations: 1.2 MB / 283.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.02217, allocations: 288 kB / 284.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.02276, allocations: 367.9 kB / 284.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.02341, allocations: 0.7479 MB / 285.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008194/0.02423, allocations: 0.8615 MB / 286.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.02577, allocations: 2.033 MB / 288.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02578, allocations: 0 / 288.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02578, allocations: 0 / 288.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.0258, allocations: 0 / 288.1 MB, free: 2.359 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00234/0.02814, allocations: 2.231 MB / 290.4 MB, free: 96 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.02818, allocations: 8.922 kB / 290.4 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1187/0.1469, allocations: 335.3 kB / 290.7 MB, free: 29.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1481, allocations: 0.7998 MB / 291.5 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.1482, allocations: 136.3 kB / 291.6 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.1484, allocations: 176 kB / 291.8 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.1501, allocations: 1.495 MB / 293.3 MB, free: 28.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.1502, allocations: 3.938 kB / 293.3 MB, free: 28.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/0.1503, allocations: 69.25 kB / 293.4 MB, free: 28.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.458e-05/0.1504, allocations: 97.98 kB / 293.5 MB, free: 28.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.1512, allocations: 0.5014 MB / 294 MB, free: 28.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004929/0.1562, allocations: 4.762 MB / 298.7 MB, free: 26.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.1566, allocations: 381.8 kB / 299.1 MB, free: 26.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.1568, allocations: 171.7 kB / 299.3 MB, free: 26.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1569, allocations: 33.8 kB / 299.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.1569, allocations: 39.52 kB / 299.3 MB, free: 26.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.482e-06/0.1569, allocations: 0.9375 kB / 299.3 MB, free: 26.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001295/0.1582, allocations: 0.8844 MB / 300.2 MB, free: 26.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.1582, allocations: 84.72 kB / 300.3 MB, free: 25.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/0.159, allocations: 0.9236 MB / 301.2 MB, free: 25.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1591, allocations: 44.77 kB / 301.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.1593, allocations: 0.904 MB / 302.2 MB, free: 25.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.1594, allocations: 196.8 kB / 302.4 MB, free: 24.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.1596, allocations: 234.7 kB / 302.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.1597, allocations: 356.5 kB / 303 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.1598, allocations: 130.5 kB / 303.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1602, allocations: 0.7691 MB / 303.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.1608, allocations: 0.9982 MB / 304.8 MB, free: 22.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.1608, allocations: 6.062 kB / 304.9 MB, free: 22.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008407/0.1616, allocations: 0.8524 MB / 305.7 MB, free: 22.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1617, allocations: 18.97 kB / 305.7 MB, free: 22.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1617, allocations: 26.59 kB / 305.8 MB, free: 22.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.162, allocations: 140.2 kB / 305.9 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.1624, allocations: 280.8 kB / 306.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000775/0.1632, allocations: 1.753 MB / 307.9 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.1636, allocations: 84.47 kB / 308 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.1636, allocations: 61.33 kB / 308.1 MB, free: 20.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.1638, allocations: 208.5 kB / 308.3 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1639, allocations: 98.36 kB / 308.4 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.1643, allocations: 359.4 kB / 308.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1643, allocations: 3.906 kB / 308.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1643, allocations: 11.23 kB / 308.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1643, allocations: 0 / 308.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1655, allocations: 1.471 MB / 310.2 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1655, allocations: 4 kB / 310.2 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1657, allocations: 92.23 kB / 310.3 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.166, allocations: 122.6 kB / 310.4 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.166, allocations: 16 kB / 310.4 MB, free: 18.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007254/0.1667, allocations: 1.762 MB / 312.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1667, allocations: 7.938 kB / 312.2 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.1674, allocations: 0.6211 MB / 312.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.1676, allocations: 131.2 kB / 312.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.1677, allocations: 19.98 kB / 313 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.168, allocations: 38.17 kB / 313 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.1681, allocations: 39.92 kB / 313 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1681, allocations: 23.92 kB / 313.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002948/0.1684, allocations: 435.2 kB / 313.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1684, allocations: 4 kB / 313.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007322/0.1691, allocations: 347.9 kB / 313.8 MB, free: 15.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.1694, allocations: 180.9 kB / 314 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.17, allocations: 0.6302 MB / 314.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.391e-05/0.17, allocations: 25.94 kB / 314.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.1702, allocations: 304 kB / 315 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.1708, allocations: 276.8 kB / 315.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.1734, allocations: 2.733 MB / 318 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1737, allocations: 425.3 kB / 318.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.1739, allocations: 158 kB / 318.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.1743, allocations: 317.1 kB / 318.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1743, allocations: 0 / 318.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01963/0.194, allocations: 16.7 MB / 335.5 MB, free: 9.859 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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.042497062124312]