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.001382/0.001382, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001033/0.001033, allocations: 175.5 kB / 24.91 MB, free: 8.77 MB / 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.9193/0.9193, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.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 2.064e-06/2.064e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.44e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006014/0.006038, allocations: 7.51 MB / 281 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.009962, allocations: 2.783 MB / 283.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.01061, allocations: 91.31 kB / 283.9 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.0115, allocations: 0.5978 MB / 284.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.01273, allocations: 0.7917 MB / 285.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.01328, allocations: 427.3 kB / 285.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.01524, allocations: 3.411 MB / 289.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1084/0.1236, allocations: 1.984 MB / 291.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.1277, allocations: 2.882 MB / 294 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.13, allocations: 1.88 MB / 295.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.1307, allocations: 452.3 kB / 296.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.1317, allocations: 0.6511 MB / 296.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008965/0.1326, allocations: 1.259 MB / 298.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1338, allocations: 1.343 MB / 299.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.1368, allocations: 3.297 MB / 302.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.1368, allocations: 0 / 302.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1368, allocations: 0.8125 kB / 302.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.137, allocations: 0 / 302.8 MB, free: 14.12 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.004691/0.1417, allocations: 3.525 MB / 306.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1417, allocations: 9.875 kB / 306.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.1426, allocations: 0.5601 MB / 306.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1442, allocations: 1.375 MB / 308.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.1443, allocations: 220.9 kB / 308.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.1446, allocations: 286.3 kB / 308.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.1468, allocations: 2.352 MB / 311.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.1468, allocations: 3.938 kB / 311.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.147, allocations: 121.9 kB / 311.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/0.1471, allocations: 142.6 kB / 311.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1482, allocations: 0.8229 MB / 312.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006041/0.1542, allocations: 6.434 MB / 318.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.1548, allocations: 0.7859 MB / 319.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.1556, allocations: 0.7457 MB / 320.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1557, allocations: 44.89 kB / 320.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1557, allocations: 55.03 kB / 320.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.525e-06/0.1557, allocations: 0 / 320.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002252/0.1579, allocations: 1.894 MB / 322.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.158, allocations: 94.42 kB / 322.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.1587, allocations: 1.098 MB / 323.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.1588, allocations: 57.08 kB / 323.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.1592, allocations: 1.148 MB / 324.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.1594, allocations: 473.1 kB / 325 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.1597, allocations: 250.6 kB / 325.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.1597, allocations: 301.1 kB / 325.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.16, allocations: 182.8 kB / 325.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.1603, allocations: 0.5327 MB / 326.3 MB, free: 11.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.161, allocations: 0.8241 MB / 327.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.161, allocations: 0 / 327.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001109/0.1621, allocations: 0.9567 MB / 328.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1621, allocations: 12 kB / 328.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1621, allocations: 11.94 kB / 328.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/0.1629, allocations: 369.1 kB / 328.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.1636, allocations: 334.7 kB / 328.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1656, allocations: 2.563 MB / 331.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.166, allocations: 63.81 kB / 331.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.166, allocations: 47.91 kB / 331.5 MB, free: 6.695 MB / 282.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.0003372/0.1664, allocations: 199 kB / 331.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.1666, allocations: 151.8 kB / 331.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.1677, allocations: 0.802 MB / 332.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.1678, allocations: 23.98 kB / 332.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1678, allocations: 8 kB / 332.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1678, allocations: 11.92 kB / 332.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.1704, allocations: 2.576 MB / 335.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1704, allocations: 4 kB / 335.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.1709, allocations: 223.1 kB / 335.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007551/0.1717, allocations: 357.6 kB / 335.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.1717, allocations: 31.98 kB / 335.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.1737, allocations: 2.578 MB / 338.4 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1737, allocations: 4 kB / 338.4 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.1751, allocations: 1.146 MB / 339.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.1754, allocations: 221.9 kB / 339.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1755, allocations: 24 kB / 339.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.1759, allocations: 67.98 kB / 339.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.176, allocations: 92.38 kB / 340 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.1761, allocations: 28 kB / 340 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004841/0.1766, allocations: 0.5551 MB / 340.5 MB, free: 14 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1766, allocations: 0 / 340.5 MB, free: 14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00103/0.1776, allocations: 0.5458 MB / 341.1 MB, free: 13.46 MB / 298.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.0004028/0.178, allocations: 217.4 kB / 341.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.179, allocations: 0.9538 MB / 342.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/0.1791, allocations: 20.5 kB / 342.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.1797, allocations: 0.6298 MB / 342.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.1806, allocations: 416.1 kB / 343.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.1854, allocations: 4.66 MB / 348 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.1859, allocations: 0.7153 MB / 348.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004777/0.1864, allocations: 226 kB / 348.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.1871, allocations: 435.1 kB / 349.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1871, allocations: 0 / 349.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of Templates: time 0.03902/0.2261, allocations: 27.76 MB / 377.1 MB, free: 9.977 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1911053489893675]