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.0009611/0.0009611, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0008533/0.0008533, allocations: 148.8 kB / 24.8 MB, free: 9.324 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.9469/0.9469, allocations: 173.4 MB / 201.4 MB, free: 9.211 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.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.573e-06/1.573e-06, allocations: 0 / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.931e-05, allocations: 6.25 kB / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006061/0.00608, allocations: 7.435 MB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.009258, allocations: 2.609 MB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.009788, allocations: 91.31 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009727/0.01076, allocations: 0.578 MB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.01201, allocations: 0.8073 MB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.01257, allocations: 423.3 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.01479, allocations: 3.396 MB / 283.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.01649, allocations: 1.964 MB / 285.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.01909, allocations: 2.903 MB / 288.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1146/0.1337, allocations: 1.888 MB / 290.5 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.1349, allocations: 450.8 kB / 290.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.1366, allocations: 0.6419 MB / 291.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.1377, allocations: 1.262 MB / 292.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002848/0.1406, allocations: 1.34 MB / 294.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.1447, allocations: 3.293 MB / 297.5 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1447, allocations: 1.156 kB / 297.5 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1447, allocations: 0.5 kB / 297.5 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.1449, allocations: 2.109 kB / 297.5 MB, free: 17.74 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.006091/0.151, allocations: 3.86 MB / 301.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.151, allocations: 10.3 kB / 301.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/0.1519, allocations: 0.6357 MB / 302 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.1538, allocations: 1.861 MB / 303.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.634e-05/0.1539, allocations: 221.4 kB / 304.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.1542, allocations: 287.4 kB / 304.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.1565, allocations: 2.284 MB / 306.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.1565, allocations: 5.969 kB / 306.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.1567, allocations: 121.7 kB / 306.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-05/0.1568, allocations: 140.5 kB / 306.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.1579, allocations: 0.7597 MB / 307.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007343/0.1653, allocations: 8.046 MB / 315.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.166, allocations: 0.8031 MB / 316.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/0.1668, allocations: 0.7897 MB / 317.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.1669, allocations: 45.73 kB / 317.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1669, allocations: 53.34 kB / 317.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.796e-06/0.167, allocations: 4 kB / 317.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002419/0.1694, allocations: 2.141 MB / 319.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1694, allocations: 90.42 kB / 319.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/0.1703, allocations: 1.335 MB / 321 MB, free: 4.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.1703, allocations: 53.7 kB / 321 MB, free: 4.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.1708, allocations: 1.469 MB / 322.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.171, allocations: 483.8 kB / 323 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.1712, allocations: 297.6 kB / 323.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.1713, allocations: 476.8 kB / 323.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1715, allocations: 167.8 kB / 323.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1719, allocations: 0.7174 MB / 324.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.1726, allocations: 0.9664 MB / 325.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1726, allocations: 4 kB / 325.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001576/0.1742, allocations: 1.191 MB / 326.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1742, allocations: 11.94 kB / 326.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1742, allocations: 12 kB / 326.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009236/0.1752, allocations: 378.6 kB / 327.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.1758, allocations: 292.7 kB / 327.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.1783, allocations: 3.224 MB / 330.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.1788, allocations: 55.92 kB / 330.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.1789, allocations: 47.98 kB / 330.8 MB, free: 10.6 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.0006361/0.1795, allocations: 238.9 kB / 331 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.1798, allocations: 230.8 kB / 331.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.181, allocations: 0.9471 MB / 332.2 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.181, allocations: 16 kB / 332.2 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.181, allocations: 7.938 kB / 332.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.181, allocations: 7.969 kB / 332.2 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.1848, allocations: 3.217 MB / 335.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1848, allocations: 0 / 335.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.1853, allocations: 194.9 kB / 335.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008422/0.1861, allocations: 370.7 kB / 336 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.1862, allocations: 27.98 kB / 336 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.1887, allocations: 3.188 MB / 339.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1887, allocations: 7.844 kB / 339.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.1904, allocations: 1.357 MB / 340.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.1908, allocations: 283.6 kB / 340.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.1909, allocations: 36.02 kB / 340.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.1913, allocations: 58.31 kB / 340.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1914, allocations: 92.75 kB / 341 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.1915, allocations: 35.98 kB / 341 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006074/0.1921, allocations: 0.7214 MB / 341.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1921, allocations: 6.734 kB / 341.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001336/0.1934, allocations: 0.5428 MB / 342.3 MB, free: 15.41 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.0003981/0.1938, allocations: 227.3 kB / 342.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.195, allocations: 1.091 MB / 343.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.195, allocations: 1.875 kB / 343.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.1957, allocations: 0.7386 MB / 344.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.1967, allocations: 418 kB / 344.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.2027, allocations: 4.71 MB / 349.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.2034, allocations: 0.8789 MB / 350.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005264/0.2039, allocations: 218.1 kB / 350.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007257/0.2046, allocations: 0.4901 MB / 351.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2046, allocations: 0 / 351.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of Templates: time 0.03773/0.2423, allocations: 27.87 MB / 378.9 MB, free: 11.28 MB / 330.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 -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.2923747366294265]