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.001124/0.001124, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.002923, allocations: 445.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.001205/0.001205, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002846, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9059/0.9059, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1392/1.045, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.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.472e-06/1.472e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.095e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008321/0.008342, allocations: 6.967 MB / 228.8 MB, free: 9.152 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.01351, allocations: 2.312 MB / 231.1 MB, free: 6.828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.01455, allocations: 55.62 kB / 231.2 MB, free: 6.773 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.01578, allocations: 472.8 kB / 231.6 MB, free: 6.309 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.01793, allocations: 0.8618 MB / 232.5 MB, free: 5.441 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.01861, allocations: 375.3 kB / 232.9 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.02124, allocations: 3.28 MB / 236.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.02267, allocations: 1.556 MB / 237.7 MB, free: 148 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.02513, allocations: 2.535 MB / 240.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.02722, allocations: 1.816 MB / 242 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005716/0.02779, allocations: 356 kB / 242.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.02857, allocations: 463.9 kB / 242.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.02919, allocations: 0.7402 MB / 243.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.03024, allocations: 0.9007 MB / 244.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.03275, allocations: 2.586 MB / 247.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.03277, allocations: 0 / 247.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03277, allocations: 0 / 247.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.264e-05/0.03284, allocations: 0 / 247.1 MB, free: 6.73 MB / 250.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.005474/0.03831, allocations: 3.975 MB / 251.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.03835, allocations: 16.03 kB / 251.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.04082, allocations: 0.8278 MB / 251.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.04233, allocations: 0.9339 MB / 252.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.04246, allocations: 197.7 kB / 253 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.04279, allocations: 264.4 kB / 253.3 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.04551, allocations: 2.162 MB / 255.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.04555, allocations: 3.938 kB / 255.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.04576, allocations: 108 kB / 255.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.874e-05/0.04586, allocations: 113.4 kB / 255.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.04711, allocations: 0.6147 MB / 256.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008325/0.05543, allocations: 6.391 MB / 262.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.05728, allocations: 1.076 MB / 263.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.05774, allocations: 348.9 kB / 264.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/0.05968, allocations: 1.248 MB / 265.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.05972, allocations: 51.55 kB / 265.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.05972, allocations: 0 / 265.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002966/0.06268, allocations: 1.281 MB / 266.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.06273, allocations: 90.11 kB / 266.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/0.06352, allocations: 0.8587 MB / 267.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.06358, allocations: 49.7 kB / 267.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.06408, allocations: 1.025 MB / 268.7 MB, free: 452 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.0643, allocations: 372.8 kB / 269 MB, free: 76 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.06456, allocations: 206.8 kB / 269.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.06468, allocations: 357.8 kB / 269.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.06489, allocations: 114.6 kB / 269.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.06525, allocations: 397.6 kB / 270.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.06594, allocations: 0.6462 MB / 270.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.06595, allocations: 4 kB / 270.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001214/0.06716, allocations: 0.8415 MB / 271.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.06718, allocations: 12 kB / 271.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.06719, allocations: 8 kB / 271.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.06797, allocations: 355.1 kB / 272 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.06857, allocations: 227.7 kB / 272.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.0723, allocations: 4.402 MB / 276.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.07275, allocations: 111.2 kB / 276.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/0.07281, allocations: 40 kB / 276.7 MB, free: 7.938 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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.07318, allocations: 188.3 kB / 276.9 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.07335, allocations: 115.9 kB / 277 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.07446, allocations: 0.748 MB / 277.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.07447, allocations: 12 kB / 277.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.07447, allocations: 12 kB / 277.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.07448, allocations: 11.91 kB / 277.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.07715, allocations: 1.999 MB / 279.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.07715, allocations: 0 / 279.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.07756, allocations: 139.8 kB / 279.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.07771, allocations: 143 kB / 280.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007239/0.07843, allocations: 367 kB / 280.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.0785, allocations: 35.97 kB / 280.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1108/0.1893, allocations: 4.385 MB / 284.9 MB, free: 40.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1893, allocations: 5.906 kB / 284.9 MB, free: 40.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.1907, allocations: 1.058 MB / 285.9 MB, free: 40.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.1908, allocations: 29.55 kB / 286 MB, free: 40.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.1912, allocations: 59.72 kB / 286 MB, free: 40.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.1913, allocations: 95.31 kB / 286.1 MB, free: 40.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.1914, allocations: 25.8 kB / 286.1 MB, free: 40.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004399/0.1918, allocations: 433.6 kB / 286.6 MB, free: 40.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1918, allocations: 1.219 kB / 286.6 MB, free: 40.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001387/0.1932, allocations: 0.6815 MB / 287.2 MB, free: 40.11 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,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.00022/0.1934, allocations: 135.4 kB / 287.4 MB, free: 40.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1946, allocations: 0.9783 MB / 288.3 MB, free: 39.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.709e-05/0.1946, allocations: 23.59 kB / 288.4 MB, free: 39.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.1953, allocations: 0.7284 MB / 289.1 MB, free: 39.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.1961, allocations: 398.7 kB / 289.5 MB, free: 39.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.2089, allocations: 4.081 MB / 293.6 MB, free: 37.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/0.2097, allocations: 0.6359 MB / 294.2 MB, free: 37.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000492/0.2102, allocations: 169.1 kB / 294.4 MB, free: 37.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.2108, allocations: 314.6 kB / 294.7 MB, free: 37.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2108, allocations: 0 / 294.7 MB, free: 37.57 MB / 282.7 MB Notification: Performance of Templates: time 0.02393/0.2347, allocations: 22.71 MB / 317.4 MB, free: 23.35 MB / 282.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 -ignoreHideResult -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.198988890275359]