Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001038/0.001038, allocations: 85.08 kB / 23 MB, free: 1.504 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.001178/0.001178, allocations: 172.3 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9528/0.9528, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 252.3 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.844e-05, allocations: 2.312 kB / 252.3 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005966/0.005984, allocations: 6.881 MB / 259.1 MB, free: 432 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.00978, allocations: 2.196 MB / 261.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.01059, allocations: 59.56 kB / 261.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008324/0.01142, allocations: 460.8 kB / 261.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.01335, allocations: 0.858 MB / 262.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.01399, allocations: 371.2 kB / 263.1 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.01726, allocations: 3.252 MB / 266.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.0189, allocations: 1.524 MB / 267.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.02167, allocations: 2.367 MB / 270.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.02442, allocations: 1.817 MB / 272 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008377/0.02526, allocations: 352 kB / 272.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009324/0.02619, allocations: 467.7 kB / 272.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006842/0.02688, allocations: 0.9387 MB / 273.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.02808, allocations: 1.111 MB / 274.9 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.03058, allocations: 2.745 MB / 277.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.03058, allocations: 0 / 277.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.03058, allocations: 0 / 277.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.838e-05/0.03063, allocations: 0 / 277.6 MB, free: 13.82 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.004293/0.03492, allocations: 3.611 MB / 281.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.03496, allocations: 15.98 kB / 281.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.03678, allocations: 0.8771 MB / 282.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.03856, allocations: 1.304 MB / 283.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.0387, allocations: 197.7 kB / 283.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/0.03904, allocations: 276.2 kB / 283.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.04211, allocations: 2.095 MB / 286 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.04216, allocations: 3.938 kB / 286 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.04236, allocations: 112 kB / 286.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.04247, allocations: 109.3 kB / 286.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.04395, allocations: 0.7354 MB / 286.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.05427, allocations: 7.66 MB / 294.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.05642, allocations: 1.215 MB / 295.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.05697, allocations: 400.8 kB / 296.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002336/0.05931, allocations: 1.69 MB / 297.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.05934, allocations: 50.39 kB / 297.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.05934, allocations: 4 kB / 297.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.003349/0.06269, allocations: 1.462 MB / 299.4 MB, free: 7.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.06273, allocations: 86.11 kB / 299.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.06407, allocations: 1.103 MB / 300.6 MB, free: 6.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.06412, allocations: 49.7 kB / 300.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/0.06487, allocations: 1.303 MB / 301.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.06512, allocations: 388.8 kB / 302.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.06543, allocations: 244.4 kB / 302.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.06561, allocations: 0.5472 MB / 303.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.06586, allocations: 134.5 kB / 303.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.06634, allocations: 0.549 MB / 303.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.06716, allocations: 0.7693 MB / 304.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.06717, allocations: 11.94 kB / 304.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001527/0.06869, allocations: 1.042 MB / 305.6 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.06871, allocations: 8 kB / 305.6 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.06873, allocations: 8 kB / 305.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.06956, allocations: 367.2 kB / 306 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.0701, allocations: 207.7 kB / 306.2 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.0749, allocations: 5.632 MB / 311.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.07546, allocations: 119.1 kB / 311.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.07553, allocations: 36 kB / 312 MB, free: 10.22 MB / 298.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.0005594/0.07609, allocations: 228.3 kB / 312.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.07632, allocations: 167.2 kB / 312.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.07772, allocations: 0.8906 MB / 313.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.07773, allocations: 15.94 kB / 313.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.07774, allocations: 8 kB / 313.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.07775, allocations: 7.969 kB / 313.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/0.08191, allocations: 2.803 MB / 316.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.08191, allocations: 8.031 kB / 316.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.08227, allocations: 115.9 kB / 316.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008164/0.08308, allocations: 367.2 kB / 316.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.08316, allocations: 39.97 kB / 316.6 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/0.08788, allocations: 5.634 MB / 322.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.08788, allocations: 3.938 kB / 322.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.08971, allocations: 1.338 MB / 323.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.08995, allocations: 150.8 kB / 323.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.09009, allocations: 28 kB / 323.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.09057, allocations: 63.97 kB / 323.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.09076, allocations: 96.69 kB / 323.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.09082, allocations: 27.98 kB / 323.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006238/0.09144, allocations: 0.5988 MB / 324.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.09144, allocations: 0 / 324.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001693/0.09314, allocations: 0.6852 MB / 325.2 MB, free: 12.56 MB / 314.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0002768/0.09341, allocations: 143.1 kB / 325.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.09505, allocations: 1.16 MB / 326.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.09505, allocations: 0 / 326.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.09606, allocations: 0.8831 MB / 327.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.0972, allocations: 292.2 kB / 327.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.1024, allocations: 3.976 MB / 331.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.103, allocations: 0.7574 MB / 332.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.1034, allocations: 170.8 kB / 332.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.1039, allocations: 362 kB / 332.9 MB, free: 4.621 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1039, allocations: 0 / 332.9 MB, free: 4.621 MB / 314.7 MB Notification: Performance of Templates: time 0.1256/0.2295, allocations: 22.25 MB / 355.2 MB, free: 92.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.300358410924673]