Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.0009331/0.0009331, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002277, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008855/0.0008855, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004835/0.00572, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9305/0.9305, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07896/1.009, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.703e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007337/0.007365, allocations: 7.595 MB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.01121, allocations: 2.58 MB / 254.7 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.01192, allocations: 71.56 kB / 254.8 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.01263, allocations: 480.7 kB / 255.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.01424, allocations: 0.8774 MB / 256.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.01485, allocations: 411 kB / 256.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.01763, allocations: 3.385 MB / 259.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.01903, allocations: 1.572 MB / 261.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.02141, allocations: 2.609 MB / 264.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.0233, allocations: 1.813 MB / 265.9 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005642/0.02387, allocations: 356 kB / 266.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007551/0.02462, allocations: 491.7 kB / 266.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004841/0.02511, allocations: 0.7402 MB / 267.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008539/0.02596, allocations: 0.9046 MB / 268.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.02805, allocations: 2.601 MB / 271 MB, free: 3.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.02806, allocations: 0 / 271 MB, free: 3.691 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02806, allocations: 4 kB / 271 MB, free: 3.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.514e-05/0.02811, allocations: 0 / 271 MB, free: 3.688 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.1131/0.1412, allocations: 4.021 MB / 275 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1412, allocations: 9.781 kB / 275 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.1433, allocations: 0.8552 MB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.145, allocations: 1.069 MB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1452, allocations: 201.5 kB / 277.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.1454, allocations: 267.1 kB / 277.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.1481, allocations: 2.163 MB / 279.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.1481, allocations: 0.9375 kB / 279.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.1483, allocations: 113.9 kB / 279.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.604e-05/0.1484, allocations: 102.7 kB / 279.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.1496, allocations: 0.6228 MB / 280.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007172/0.1567, allocations: 6.371 MB / 286.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.1581, allocations: 1.068 MB / 287.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1584, allocations: 350.5 kB / 288.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.1599, allocations: 1.263 MB / 289.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1599, allocations: 47.12 kB / 289.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.1599, allocations: 0 / 289.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00202/0.1619, allocations: 1.273 MB / 290.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.1619, allocations: 91.39 kB / 290.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.1625, allocations: 0.8864 MB / 291.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.1625, allocations: 47.58 kB / 291.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.1628, allocations: 1.028 MB / 292.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1629, allocations: 376.7 kB / 293.2 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.1631, allocations: 206.9 kB / 293.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.1631, allocations: 355.2 kB / 293.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1632, allocations: 111 kB / 293.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.1634, allocations: 411.4 kB / 294.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.1638, allocations: 0.6424 MB / 294.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1638, allocations: 2.688 kB / 294.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0007902/0.1646, allocations: 0.8445 MB / 295.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1647, allocations: 10.88 kB / 295.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1647, allocations: 10.56 kB / 295.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.1652, allocations: 347.1 kB / 296.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.1656, allocations: 234.6 kB / 296.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.1678, allocations: 4.381 MB / 300.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1682, allocations: 119.1 kB / 300.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.1682, allocations: 36 kB / 300.8 MB, free: 1.945 MB / 266.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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003333/0.1686, allocations: 189.7 kB / 301 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1687, allocations: 119.8 kB / 301.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.1694, allocations: 0.7452 MB / 301.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1694, allocations: 12 kB / 301.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1694, allocations: 8 kB / 301.9 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1694, allocations: 7.984 kB / 301.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.1715, allocations: 2.014 MB / 303.9 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1715, allocations: 4 kB / 303.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.1718, allocations: 146.7 kB / 304.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1719, allocations: 142.8 kB / 304.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/0.1725, allocations: 362.3 kB / 304.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.1725, allocations: 31.92 kB / 304.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.1756, allocations: 4.366 MB / 309 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.1756, allocations: 7.188 kB / 309 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1767, allocations: 1.067 MB / 310 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.1768, allocations: 31.98 kB / 310.1 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1772, allocations: 55.97 kB / 310.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1773, allocations: 92.81 kB / 310.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1773, allocations: 23.98 kB / 310.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003413/0.1777, allocations: 446.5 kB / 310.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 4 kB / 310.7 MB, free: 8.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00123/0.1789, allocations: 0.6929 MB / 311.4 MB, free: 7.672 MB / 282.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.0002119/0.1791, allocations: 135.8 kB / 311.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1801, allocations: 0.9809 MB / 312.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-05/0.1802, allocations: 24.28 kB / 312.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.1808, allocations: 0.7265 MB / 313.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.1816, allocations: 399.8 kB / 313.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.1946, allocations: 4.094 MB / 317.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.1951, allocations: 0.6374 MB / 318.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.1956, allocations: 170.9 kB / 318.5 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.196, allocations: 323.4 kB / 318.8 MB, free: 164 kB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.196, allocations: 0 / 318.8 MB, free: 164 kB / 282.7 MB Notification: Performance of Templates: time 0.02847/0.2245, allocations: 22.68 MB / 341.5 MB, free: 9.871 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9363095024600625]