Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.516e-05, allocations: 5.266 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006329/0.006354, allocations: 7.537 MB / 281 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.01135, allocations: 2.787 MB / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.01254, allocations: 87.38 kB / 283.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.0136, allocations: 0.6016 MB / 284.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.01526, allocations: 0.815 MB / 285.3 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.01595, allocations: 423.4 kB / 285.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.01838, allocations: 3.431 MB / 289.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1255/0.1439, allocations: 1.988 MB / 291.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.1486, allocations: 2.893 MB / 294 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.1517, allocations: 1.888 MB / 295.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00132/0.153, allocations: 456.3 kB / 296.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1544, allocations: 0.6472 MB / 297 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.1556, allocations: 1.268 MB / 298.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.158, allocations: 1.347 MB / 299.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.1621, allocations: 3.316 MB / 302.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1621, allocations: 0 / 302.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1621, allocations: 0 / 302.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.163e-05/0.1622, allocations: 4.594 kB / 302.9 MB, free: 13.92 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.004933/0.1671, allocations: 3.54 MB / 306.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1671, allocations: 14.11 kB / 306.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.1683, allocations: 0.5531 MB / 307 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.1704, allocations: 1.382 MB / 308.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.1706, allocations: 224.8 kB / 308.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.1709, allocations: 289.7 kB / 308.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.1737, allocations: 2.357 MB / 311.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.1737, allocations: 0 / 311.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.174, allocations: 126.2 kB / 311.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.1741, allocations: 151.5 kB / 311.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1755, allocations: 0.8275 MB / 312.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008137/0.1836, allocations: 6.465 MB / 318.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.1845, allocations: 0.7892 MB / 319.6 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.1855, allocations: 0.737 MB / 320.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.1856, allocations: 52.97 kB / 320.4 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1857, allocations: 51.12 kB / 320.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.246e-06/0.1857, allocations: 0 / 320.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003456/0.1891, allocations: 1.897 MB / 322.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1892, allocations: 90.42 kB / 322.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1903, allocations: 1.102 MB / 323.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.1903, allocations: 53.7 kB / 323.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.1909, allocations: 1.158 MB / 324.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.1912, allocations: 469.6 kB / 325.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.1915, allocations: 260.5 kB / 325.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.1916, allocations: 305.1 kB / 325.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.1919, allocations: 178.8 kB / 325.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.1924, allocations: 0.5307 MB / 326.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.1933, allocations: 0.8252 MB / 327.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.1934, allocations: 8 kB / 327.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001607/0.195, allocations: 0.96 MB / 328.2 MB, free: 9.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.195, allocations: 8 kB / 328.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.195, allocations: 12 kB / 328.3 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.1961, allocations: 364.9 kB / 328.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/0.197, allocations: 325.3 kB / 328.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.1999, allocations: 2.576 MB / 331.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.2006, allocations: 56.02 kB / 331.6 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/0.2007, allocations: 44 kB / 331.6 MB, free: 6.16 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.0006538/0.2013, allocations: 205.5 kB / 331.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.2016, allocations: 155.8 kB / 332 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2029, allocations: 0.8043 MB / 332.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.2029, allocations: 19.94 kB / 332.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2029, allocations: 4 kB / 332.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.203, allocations: 7.969 kB / 332.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003825/0.2068, allocations: 2.594 MB / 335.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2068, allocations: 0 / 335.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.2075, allocations: 226.4 kB / 335.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.2085, allocations: 353.2 kB / 336 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.2086, allocations: 31.98 kB / 336 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.2116, allocations: 2.591 MB / 338.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2116, allocations: 0 / 338.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.2131, allocations: 1.138 MB / 339.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.2135, allocations: 217.3 kB / 339.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.2136, allocations: 28 kB / 340 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.214, allocations: 63.98 kB / 340 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.2141, allocations: 100.6 kB / 340.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.2142, allocations: 24 kB / 340.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000509/0.2147, allocations: 0.5612 MB / 340.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2147, allocations: 0 / 340.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001268/0.2159, allocations: 0.5389 MB / 341.2 MB, free: 12.91 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.0004361/0.2164, allocations: 223.3 kB / 341.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.2176, allocations: 0.9484 MB / 342.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/0.2176, allocations: 21.25 kB / 342.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006854/0.2183, allocations: 0.6327 MB / 343.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.2193, allocations: 422.3 kB / 343.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/0.2254, allocations: 4.682 MB / 348.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.226, allocations: 0.7117 MB / 348.9 MB, free: 5.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000672/0.2267, allocations: 226 kB / 349.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/0.2274, allocations: 443.1 kB / 349.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2274, allocations: 0 / 349.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of Templates: time 0.03645/0.2639, allocations: 27.74 MB / 377.3 MB, free: 9.371 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.4223873638547957]