Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001041/0.001041, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002457, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009339/0.0009339, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002178, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9696/0.9696, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08587/1.055, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.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.TransformerTestbench,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.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.287e-05, allocations: 2.875 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005848/0.005861, allocations: 7.533 MB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.009695, allocations: 2.737 MB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/0.01065, allocations: 87.38 kB / 249.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.01185, allocations: 0.5897 MB / 250.5 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.01346, allocations: 0.7956 MB / 251.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.01424, allocations: 427.2 kB / 251.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.01699, allocations: 3.419 MB / 255.1 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.01893, allocations: 2 MB / 257.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.02231, allocations: 3.054 MB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.02424, allocations: 1.879 MB / 262.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005413/0.02478, allocations: 455.9 kB / 262.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009879/0.02577, allocations: 0.6402 MB / 263.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007103/0.02648, allocations: 1.037 MB / 264.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.02756, allocations: 1.107 MB / 265.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.03012, allocations: 3.08 MB / 268.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.03013, allocations: 0 / 268.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.03013, allocations: 0 / 268.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.853e-05/0.03019, allocations: 0 / 268.4 MB, free: 6.199 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.003772/0.03396, allocations: 4.197 MB / 272.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.03399, allocations: 12.03 kB / 272.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007226/0.03472, allocations: 0.5874 MB / 273.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1078/0.1425, allocations: 1.358 MB / 274.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.1427, allocations: 220.4 kB / 274.7 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.1431, allocations: 292.5 kB / 275 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.1461, allocations: 2.349 MB / 277.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.1462, allocations: 7.781 kB / 277.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.1463, allocations: 116.9 kB / 277.5 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.1465, allocations: 142.2 kB / 277.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.1479, allocations: 0.821 MB / 278.5 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008496/0.1564, allocations: 6.478 MB / 284.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008249/0.1572, allocations: 0.7752 MB / 285.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.1581, allocations: 0.751 MB / 286.5 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1583, allocations: 42.81 kB / 286.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1583, allocations: 47.09 kB / 286.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.268e-06/0.1583, allocations: 2.406 kB / 286.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003135/0.1615, allocations: 1.894 MB / 288.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.1615, allocations: 68.97 kB / 288.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.1623, allocations: 1.097 MB / 289.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.1623, allocations: 48.55 kB / 289.7 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.1627, allocations: 1.151 MB / 290.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.1628, allocations: 471.9 kB / 291.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.1631, allocations: 255.8 kB / 291.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.089e-05/0.1631, allocations: 305.1 kB / 291.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.1633, allocations: 176.3 kB / 292 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1636, allocations: 0.5336 MB / 292.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.1642, allocations: 0.821 MB / 293.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1642, allocations: 7.5 kB / 293.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001032/0.1652, allocations: 0.9488 MB / 294.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1652, allocations: 11.47 kB / 294.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.1653, allocations: 15.31 kB / 294.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007982/0.1661, allocations: 368.3 kB / 294.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.1668, allocations: 351 kB / 295 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.1686, allocations: 2.575 MB / 297.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.169, allocations: 44.97 kB / 297.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.1691, allocations: 48 kB / 297.7 MB, free: 10 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.0004253/0.1695, allocations: 214.2 kB / 297.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.1697, allocations: 155.4 kB / 298.1 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.1705, allocations: 0.7994 MB / 298.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.1705, allocations: 19.98 kB / 298.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1705, allocations: 4 kB / 298.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1705, allocations: 3.984 kB / 298.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.173, allocations: 2.582 MB / 301.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.173, allocations: 7.5 kB / 301.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.1736, allocations: 239.1 kB / 301.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.1738, allocations: 226.7 kB / 301.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/0.1745, allocations: 362.8 kB / 302.3 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.1746, allocations: 23.98 kB / 302.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.1762, allocations: 2.603 MB / 304.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1762, allocations: 0 / 304.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1773, allocations: 1.142 MB / 306.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.1774, allocations: 28 kB / 306.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.1777, allocations: 64 kB / 306.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1778, allocations: 92.47 kB / 306.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.1779, allocations: 31.98 kB / 306.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003488/0.1782, allocations: 0.5525 MB / 306.8 MB, free: 1.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 0 / 306.8 MB, free: 1.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001027/0.1792, allocations: 0.5389 MB / 307.4 MB, free: 0.7266 MB / 266.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.0004174/0.1797, allocations: 216.9 kB / 307.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1807, allocations: 0.952 MB / 308.5 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.866e-05/0.1807, allocations: 31.44 kB / 308.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.1813, allocations: 0.6466 MB / 309.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.1823, allocations: 0.5299 MB / 309.7 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.1966, allocations: 5.02 MB / 314.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.1974, allocations: 0.7313 MB / 315.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007354/0.1982, allocations: 224.4 kB / 315.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/0.1989, allocations: 439.1 kB / 316.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1989, allocations: 0 / 316.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of Templates: time 0.0373/0.2362, allocations: 29.19 MB / 345.3 MB, free: 11.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.289662395603955]