Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001082/0.001082, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002644, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001165/0.001165, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002783, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9444/0.9444, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08209/1.026, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.657e-06/1.032e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005939/0.005949, allocations: 7.561 MB / 252.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.009277, allocations: 2.814 MB / 255.1 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.009644, allocations: 87.38 kB / 255.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.01034, allocations: 0.5936 MB / 255.8 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009377/0.01128, allocations: 0.7839 MB / 256.6 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.01172, allocations: 435.2 kB / 257 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.01354, allocations: 3.431 MB / 260.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.0152, allocations: 1.988 MB / 262.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.01754, allocations: 3.054 MB / 265.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.0189, allocations: 1.883 MB / 267.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.01925, allocations: 452 kB / 267.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000955/0.02021, allocations: 0.648 MB / 268.4 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006/0.02081, allocations: 1.033 MB / 269.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008132/0.02162, allocations: 1.107 MB / 270.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.02363, allocations: 3.08 MB / 273.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.02364, allocations: 4 kB / 273.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02364, allocations: 0 / 273.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.02367, allocations: 4 kB / 273.6 MB, free: 1.133 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.1083/0.132, allocations: 4.204 MB / 277.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.132, allocations: 9.688 kB / 277.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.1331, allocations: 0.6286 MB / 278.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.1348, allocations: 1.379 MB / 279.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1349, allocations: 223.2 kB / 280.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.1352, allocations: 288.8 kB / 280.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.1379, allocations: 2.35 MB / 282.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.1379, allocations: 6.031 kB / 282.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.1381, allocations: 116.6 kB / 282.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.1382, allocations: 138.2 kB / 283 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.1396, allocations: 0.8239 MB / 283.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00704/0.1466, allocations: 6.484 MB / 290.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.1474, allocations: 0.7876 MB / 291.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.1482, allocations: 0.7436 MB / 291.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.1484, allocations: 48.34 kB / 291.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.1484, allocations: 47.2 kB / 291.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.1484, allocations: 0 / 291.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002859/0.1513, allocations: 1.935 MB / 293.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.1513, allocations: 68.47 kB / 293.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.1519, allocations: 1.098 MB / 295 MB, free: 9.117 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.152, allocations: 45.7 kB / 295.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.1523, allocations: 1.155 MB / 296.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.1525, allocations: 480.2 kB / 296.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1527, allocations: 251.1 kB / 296.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.152e-05/0.1527, allocations: 309.1 kB / 297.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.1529, allocations: 170.8 kB / 297.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.1532, allocations: 0.5346 MB / 297.9 MB, free: 6.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.1539, allocations: 0.8628 MB / 298.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1539, allocations: 4 kB / 298.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001093/0.155, allocations: 0.9541 MB / 299.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.155, allocations: 12 kB / 299.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.155, allocations: 16.12 kB / 299.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008146/0.1558, allocations: 371 kB / 300.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/0.1565, allocations: 361.6 kB / 300.5 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.1582, allocations: 2.564 MB / 303.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.1586, allocations: 59.88 kB / 303.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.1587, allocations: 44 kB / 303.2 MB, free: 0.9414 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (157): * Single equations (assignments): 152 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003122/0.159, allocations: 202.5 kB / 303.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.1592, allocations: 155.8 kB / 303.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/0.16, allocations: 0.8011 MB / 304.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.1601, allocations: 16 kB / 304.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1601, allocations: 6.188 kB / 304.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1601, allocations: 11.91 kB / 304.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.1629, allocations: 2.586 MB / 306.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1629, allocations: 0 / 306.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.1635, allocations: 235.4 kB / 307.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.1638, allocations: 222.9 kB / 307.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000827/0.1646, allocations: 369.8 kB / 307.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.1646, allocations: 35.98 kB / 307.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.1667, allocations: 2.579 MB / 310.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1667, allocations: 4.031 kB / 310.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.1679, allocations: 1.151 MB / 311.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.1681, allocations: 24 kB / 311.5 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.1684, allocations: 63.95 kB / 311.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1686, allocations: 88.81 kB / 311.7 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.1686, allocations: 32.03 kB / 311.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004244/0.169, allocations: 0.5563 MB / 312.3 MB, free: 8.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.169, allocations: 0 / 312.3 MB, free: 8.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001141/0.1702, allocations: 0.5444 MB / 312.8 MB, free: 7.676 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (102): * Single equations (assignments): 97 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/0.1706, allocations: 228.5 kB / 313 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.1716, allocations: 0.9741 MB / 314 MB, free: 6.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.641e-05/0.1716, allocations: 36.45 kB / 314 MB, free: 6.523 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.1723, allocations: 0.7041 MB / 314.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.1743, allocations: 4.044 MB / 318.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.1883, allocations: 5.029 MB / 323.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.189, allocations: 0.7343 MB / 324.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005463/0.1895, allocations: 222.1 kB / 324.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/0.1902, allocations: 439.1 kB / 325.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1902, allocations: 4 kB / 325.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of Templates: time 0.03518/0.2254, allocations: 29.06 MB / 354.3 MB, free: 13.97 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.166200286708772]