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.0008864/0.0008864, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0008634/0.0008634, allocations: 165.7 kB / 25.7 MB, free: 8.445 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.8631/0.8631, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.092e-06/1.092e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.726e-06/9.818e-06, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005211/0.005221, allocations: 6.888 MB / 258.4 MB, free: 356 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.008069, allocations: 2.297 MB / 260.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.008424, allocations: 59.56 kB / 260.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.009037, allocations: 472.8 kB / 261.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.01029, allocations: 0.8697 MB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.01074, allocations: 379.2 kB / 262.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.01283, allocations: 3.26 MB / 265.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.014, allocations: 1.56 MB / 267.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.01558, allocations: 2.375 MB / 269.7 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.01697, allocations: 1.824 MB / 271.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.01726, allocations: 356 kB / 271.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.01774, allocations: 463.7 kB / 272.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.01827, allocations: 0.9465 MB / 273.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.019, allocations: 1.111 MB / 274.3 MB, free: 292 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.02075, allocations: 2.749 MB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.02075, allocations: 0 / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.02075, allocations: 0 / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.997e-05/0.02078, allocations: 0 / 277.1 MB, free: 13.53 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.003496/0.02428, allocations: 3.326 MB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.02431, allocations: 11.98 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.02599, allocations: 0.8317 MB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.02703, allocations: 0.9339 MB / 282.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.02712, allocations: 197.7 kB / 282.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.02736, allocations: 264.4 kB / 282.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.02924, allocations: 2.162 MB / 284.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.02928, allocations: 7.922 kB / 284.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.02944, allocations: 108 kB / 284.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/0.02951, allocations: 109.4 kB / 285 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.0305, allocations: 0.6147 MB / 285.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006116/0.03662, allocations: 6.349 MB / 292 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.03809, allocations: 1.085 MB / 293.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.03843, allocations: 348.8 kB / 293.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.03991, allocations: 1.259 MB / 294.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.03993, allocations: 51.56 kB / 294.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.024e-06/0.03993, allocations: 0 / 294.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002184/0.04212, allocations: 1.274 MB / 296 MB, free: 10.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.04215, allocations: 90.11 kB / 296.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.0427, allocations: 0.8625 MB / 296.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.04275, allocations: 41.7 kB / 297 MB, free: 8.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.04312, allocations: 1.032 MB / 298 MB, free: 7.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.04329, allocations: 372.8 kB / 298.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.04348, allocations: 206.8 kB / 298.6 MB, free: 7.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.04356, allocations: 361.8 kB / 298.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.04371, allocations: 106.6 kB / 299 MB, free: 6.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.04399, allocations: 405.6 kB / 299.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.04459, allocations: 0.6423 MB / 300.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.0446, allocations: 4 kB / 300.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0008959/0.0455, allocations: 0.8298 MB / 300.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.04551, allocations: 8 kB / 300.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.04552, allocations: 11.94 kB / 300.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/0.0461, allocations: 359.2 kB / 301.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.04647, allocations: 203.7 kB / 301.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.04926, allocations: 4.367 MB / 305.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.04957, allocations: 111.2 kB / 306 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.04962, allocations: 48.02 kB / 306 MB, free: 15.48 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.0002749/0.0499, allocations: 180.3 kB / 306.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.05003, allocations: 123.9 kB / 306.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.05092, allocations: 0.7481 MB / 307.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.05092, allocations: 15.98 kB / 307.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.05093, allocations: 8 kB / 307.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.05094, allocations: 3.984 kB / 307.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.05291, allocations: 1.999 MB / 309.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.05292, allocations: 0 / 309.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.05316, allocations: 119.8 kB / 309.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/0.05371, allocations: 367.5 kB / 309.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.05376, allocations: 31.92 kB / 309.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.05657, allocations: 4.417 MB / 314 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.05657, allocations: 0 / 314 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.05759, allocations: 1.063 MB / 315.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.05771, allocations: 138.9 kB / 315.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.05781, allocations: 31.98 kB / 315.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.05811, allocations: 59.97 kB / 315.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.05822, allocations: 88.81 kB / 315.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.05826, allocations: 27.92 kB / 315.4 MB, free: 5.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.05857, allocations: 432.2 kB / 315.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05857, allocations: 0 / 315.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008633/0.05943, allocations: 0.6852 MB / 316.5 MB, free: 4.629 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,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.0001752/0.05961, allocations: 140.2 kB / 316.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.06053, allocations: 0.9748 MB / 317.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.06054, allocations: 12.5 kB / 317.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.06116, allocations: 0.7294 MB / 318.4 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.06183, allocations: 284.3 kB / 318.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.06541, allocations: 3.855 MB / 322.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.06586, allocations: 0.6207 MB / 323.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.06619, allocations: 166.8 kB / 323.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.06665, allocations: 321.1 kB / 323.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.06665, allocations: 0 / 323.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of Templates: time 0.02434/0.09098, allocations: 21.75 MB / 345.3 MB, free: 7.605 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.1480339509435]