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.001441/0.001441, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001228/0.001228, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9834/0.9834, allocations: 177.1 MB / 205 MB, free: 5.629 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.314e-06/2.314e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.19e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01863/0.01866, allocations: 7.677 MB / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.03086, allocations: 2.695 MB / 283.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.03248, allocations: 87.38 kB / 283.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.03712, allocations: 0.5861 MB / 284 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.04012, allocations: 0.7956 MB / 284.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.04125, allocations: 431.3 kB / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.04447, allocations: 3.392 MB / 288.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1354/0.1798, allocations: 1.956 MB / 290.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.1849, allocations: 2.536 MB / 293.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/0.1884, allocations: 2.003 MB / 295.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.1898, allocations: 462.7 kB / 295.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1913, allocations: 0.6579 MB / 296.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.1925, allocations: 1.313 MB / 297.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.1951, allocations: 1.377 MB / 298.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.1988, allocations: 3.359 MB / 302.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1988, allocations: 2.469 kB / 302.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1988, allocations: 0 / 302.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001489/0.199, allocations: 0 / 302.3 MB, free: 14.1 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.006506/0.2055, allocations: 4.038 MB / 306.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2055, allocations: 9.062 kB / 306.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.2068, allocations: 0.671 MB / 307 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.2092, allocations: 1.957 MB / 309 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2093, allocations: 217.7 kB / 309.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.2095, allocations: 291.8 kB / 309.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.2128, allocations: 2.486 MB / 311.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.2128, allocations: 8.688 kB / 312 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.213, allocations: 119.4 kB / 312.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.2131, allocations: 138.4 kB / 312.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.2151, allocations: 1.011 MB / 313.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00861/0.2237, allocations: 8.324 MB / 321.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.2249, allocations: 0.8653 MB / 322.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.226, allocations: 0.7971 MB / 323.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.2262, allocations: 56.95 kB / 323.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.2262, allocations: 50.05 kB / 323.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.178e-06/0.2262, allocations: 6.953 kB / 323.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.004463/0.2307, allocations: 2.721 MB / 326 MB, free: 11.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.2307, allocations: 94.42 kB / 326.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.2322, allocations: 1.413 MB / 327.5 MB, free: 9.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2323, allocations: 49.7 kB / 327.6 MB, free: 9.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007806/0.2331, allocations: 1.457 MB / 329 MB, free: 8.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.2334, allocations: 496.2 kB / 329.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.2337, allocations: 285.2 kB / 329.8 MB, free: 7.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2338, allocations: 480.7 kB / 330.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.2344, allocations: 219.9 kB / 330.5 MB, free: 6.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.235, allocations: 0.7666 MB / 331.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2361, allocations: 1.059 MB / 332.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2361, allocations: 4 kB / 332.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.001913/0.238, allocations: 1.305 MB / 333.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2381, allocations: 11.94 kB / 333.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.2381, allocations: 15.98 kB / 333.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.2394, allocations: 386 kB / 334 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.2401, allocations: 324.5 kB / 334.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.243, allocations: 3.344 MB / 337.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.2438, allocations: 86.97 kB / 337.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/0.2439, allocations: 56 kB / 337.8 MB, free: 14.99 MB / 298.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 (158): * Single equations (assignments): 153 * 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.000717/0.2446, allocations: 250.1 kB / 338.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.2449, allocations: 230.9 kB / 338.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.2464, allocations: 1.058 MB / 339.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/0.2464, allocations: 27.91 kB / 339.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2464, allocations: 4 kB / 339.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.2465, allocations: 3.984 kB / 339.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.2514, allocations: 3.479 MB / 342.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2514, allocations: 8.219 kB / 342.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.252, allocations: 223.4 kB / 343.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009514/0.2529, allocations: 367.4 kB / 343.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.253, allocations: 39.39 kB / 343.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.2558, allocations: 3.282 MB / 346.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2558, allocations: 8.031 kB / 346.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.2582, allocations: 1.537 MB / 348.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.2587, allocations: 342.7 kB / 348.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.2588, allocations: 27.98 kB / 348.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.2593, allocations: 98.89 kB / 348.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.2595, allocations: 112.2 kB / 348.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/0.2596, allocations: 36 kB / 348.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009609/0.2605, allocations: 0.8224 MB / 349.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2605, allocations: 0 / 349.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001558/0.2621, allocations: 0.5468 MB / 350.3 MB, free: 2.375 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (104): * Single equations (assignments): 99 * 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.0005165/0.2626, allocations: 234.1 kB / 350.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.2643, allocations: 1.189 MB / 351.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2643, allocations: 4 kB / 351.7 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.2652, allocations: 0.7834 MB / 352.5 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2663, allocations: 447.5 kB / 352.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.2738, allocations: 4.884 MB / 357.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.2746, allocations: 0.8676 MB / 358.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008877/0.2755, allocations: 369.8 kB / 359.1 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.2758, allocations: 124.5 kB / 359.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of SimCode: time 2.825e-06/0.2758, allocations: 0 / 359.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of Templates: time 0.03664/0.3125, allocations: 27.64 MB / 386.8 MB, free: 14.21 MB / 346.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 -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.8161075208336115]