Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.0008917/0.0008917, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001625/0.001625, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9533/0.9533, allocations: 173.4 MB / 201.1 MB, free: 9.348 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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.667e-05, allocations: 2.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007147/0.007173, allocations: 7.123 MB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.01061, allocations: 2.168 MB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.01133, allocations: 71.56 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.01213, allocations: 464.8 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.01392, allocations: 0.9086 MB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.01451, allocations: 367.2 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.01747, allocations: 3.244 MB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.01891, allocations: 1.548 MB / 283.9 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.02108, allocations: 2.371 MB / 286.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.02308, allocations: 1.805 MB / 288 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005864/0.02367, allocations: 356 kB / 288.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.02433, allocations: 471.8 kB / 288.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005119/0.02484, allocations: 0.9425 MB / 289.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1079/0.1328, allocations: 1.112 MB / 290.9 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.1361, allocations: 2.753 MB / 293.7 MB, free: 18.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1361, allocations: 0.5625 kB / 293.7 MB, free: 18.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1361, allocations: 0 / 293.7 MB, free: 18.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.13e-05/0.1362, allocations: 0 / 293.7 MB, free: 18.86 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005727/0.1419, allocations: 3.737 MB / 297.4 MB, free: 17.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.142, allocations: 11.7 kB / 297.4 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.1441, allocations: 0.9165 MB / 298.3 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.1461, allocations: 1.533 MB / 299.9 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1463, allocations: 199.2 kB / 300.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.1466, allocations: 270.2 kB / 300.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.15, allocations: 2.265 MB / 302.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.15, allocations: 3.688 kB / 302.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.1502, allocations: 113.9 kB / 302.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.959e-05/0.1503, allocations: 102.2 kB / 302.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.1521, allocations: 0.96 MB / 303.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008145/0.1602, allocations: 8.218 MB / 312 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.1621, allocations: 1.352 MB / 313.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.1626, allocations: 449.9 kB / 313.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.1646, allocations: 1.744 MB / 315.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1646, allocations: 54.39 kB / 315.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.928e-06/0.1646, allocations: 0 / 315.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002702/0.1673, allocations: 1.575 MB / 317.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1674, allocations: 86.11 kB / 317.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.1683, allocations: 1.135 MB / 318.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.1684, allocations: 49.36 kB / 318.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.1688, allocations: 1.278 MB / 319.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1689, allocations: 394 kB / 320.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1691, allocations: 240.5 kB / 320.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.1692, allocations: 0.5394 MB / 320.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1695, allocations: 173.8 kB / 321 MB, free: 3.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.1698, allocations: 0.581 MB / 321.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.1705, allocations: 0.8397 MB / 322.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1705, allocations: 7.938 kB / 322.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001246/0.1717, allocations: 1.139 MB / 323.6 MB, free: 384 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1718, allocations: 8 kB / 323.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1718, allocations: 8 kB / 323.6 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/0.1725, allocations: 384.7 kB / 324 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.173, allocations: 209.6 kB / 324.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.1774, allocations: 5.821 MB / 330 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.1782, allocations: 135.1 kB / 330.1 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.1782, allocations: 44 kB / 330.2 MB, free: 9.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007559/0.179, allocations: 221.9 kB / 330.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.1792, allocations: 183 kB / 330.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.1804, allocations: 0.9515 MB / 331.5 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1804, allocations: 12 kB / 331.5 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1804, allocations: 4 kB / 331.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.1804, allocations: 11.97 kB / 331.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.1839, allocations: 2.885 MB / 334.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1839, allocations: 4 kB / 334.4 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.1842, allocations: 126.8 kB / 334.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009999/0.1852, allocations: 385.6 kB / 334.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.1853, allocations: 35.3 kB / 335 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/0.1891, allocations: 5.803 MB / 340.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1891, allocations: 4 kB / 340.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.1911, allocations: 1.445 MB / 342.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.1914, allocations: 162.8 kB / 342.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1915, allocations: 28 kB / 342.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.1919, allocations: 79.92 kB / 342.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.1921, allocations: 108 kB / 342.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.1921, allocations: 39.98 kB / 342.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007893/0.1929, allocations: 0.6458 MB / 343.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1929, allocations: 0 / 343.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001757/0.1947, allocations: 0.6775 MB / 343.9 MB, free: 11.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000292/0.195, allocations: 153.4 kB / 344.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1968, allocations: 1.23 MB / 345.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1968, allocations: 1.25 kB / 345.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000998/0.1978, allocations: 0.9131 MB / 346.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.1989, allocations: 291.3 kB / 346.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006327/0.2053, allocations: 3.989 MB / 350.5 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.2059, allocations: 0.7651 MB / 351.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007318/0.2066, allocations: 274.6 kB / 351.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.2069, allocations: 92.14 kB / 351.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2069, allocations: 0 / 351.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Templates: time 0.03284/0.2397, allocations: 21.31 MB / 373 MB, free: 14.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.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.1375301899388433]