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.001409/0.001409, allocations: 92.64 kB / 20.95 MB, free: 3.586 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.001368/0.001368, allocations: 149.1 kB / 24.26 MB, free: 292 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 1.44/1.44, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.383e-06/1.383e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.655e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009536/0.009563, allocations: 6.442 MB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.01409, allocations: 2.11 MB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.01478, allocations: 67.56 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01587, allocations: 468.7 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.01858, allocations: 0.9085 MB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008855/0.01947, allocations: 359.3 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.02375, allocations: 3.236 MB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.02607, allocations: 1.548 MB / 282.4 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.02929, allocations: 2.09 MB / 284.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.03177, allocations: 1.535 MB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005572/0.03232, allocations: 360 kB / 286.4 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.03328, allocations: 483.7 kB / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009707/0.03425, allocations: 0.9348 MB / 287.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.03579, allocations: 1.103 MB / 288.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1151/0.1509, allocations: 4.736 MB / 293.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.1509, allocations: 0 / 293.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1509, allocations: 1.219 kB / 293.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.1511, allocations: 2.078 kB / 293.7 MB, free: 20.94 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.01044/0.1615, allocations: 3.596 MB / 297.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1616, allocations: 10.7 kB / 297.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.1658, allocations: 1.031 MB / 298.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.1692, allocations: 1.806 MB / 300.1 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.1694, allocations: 199.2 kB / 300.3 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004807/0.1699, allocations: 264.7 kB / 300.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006564/0.1764, allocations: 3.843 MB / 304.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.1765, allocations: 2.406 kB / 304.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/0.1768, allocations: 115.9 kB / 304.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-05/0.1769, allocations: 101.5 kB / 304.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/0.1812, allocations: 3.094 MB / 307.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.1943, allocations: 9.101 MB / 316.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.1975, allocations: 1.755 MB / 318.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.1986, allocations: 0.8681 MB / 319.4 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003161/0.2017, allocations: 1.985 MB / 321.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2017, allocations: 47.56 kB / 321.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.2017, allocations: 0 / 321.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00535/0.2071, allocations: 2.519 MB / 324 MB, free: 1.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2071, allocations: 97.77 kB / 324.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.2088, allocations: 1.334 MB / 325.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.2089, allocations: 45.7 kB / 325.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.2102, allocations: 1.19 MB / 326.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.2106, allocations: 381.4 kB / 327 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.211, allocations: 226 kB / 327.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.2112, allocations: 345.9 kB / 327.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.2123, allocations: 0.5686 MB / 328.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.2136, allocations: 0.8369 MB / 329 MB, free: 11.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.2161, allocations: 1.464 MB / 330.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.2161, allocations: 11.94 kB / 330.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004086/0.2202, allocations: 1.99 MB / 332.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.2202, allocations: 12.03 kB / 332.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.2202, allocations: 8 kB / 332.5 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.222, allocations: 0.4889 MB / 333 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/0.223, allocations: 226.2 kB / 333.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009567/0.2326, allocations: 6.223 MB / 339.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.2341, allocations: 139.1 kB / 339.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.2343, allocations: 47.98 kB / 339.6 MB, free: 1.137 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.002137/0.2364, allocations: 0.8624 MB / 340.4 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/0.237, allocations: 179 kB / 340.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.2408, allocations: 1.638 MB / 342.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.2408, allocations: 8 kB / 342.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/0.2409, allocations: 12 kB / 342.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.2409, allocations: 3.984 kB / 342.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00733/0.2482, allocations: 3.362 MB / 345.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.2482, allocations: 4 kB / 345.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.2489, allocations: 134.8 kB / 345.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.2505, allocations: 489.1 kB / 346.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.2506, allocations: 39.53 kB / 346.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009292/0.2599, allocations: 6.216 MB / 352.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2599, allocations: 4.031 kB / 352.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.2649, allocations: 2.496 MB / 355 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009073/0.2658, allocations: 174.8 kB / 355.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.266, allocations: 27.98 kB / 355.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.2669, allocations: 83.91 kB / 355.3 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.2672, allocations: 104.6 kB / 355.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/0.2673, allocations: 31.98 kB / 355.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00175/0.2691, allocations: 0.9309 MB / 356.4 MB, free: 176 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2691, allocations: 0 / 356.4 MB, free: 176 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.002431/0.2715, allocations: 0.6736 MB / 357 MB, free: 15.49 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,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.0003985/0.2719, allocations: 161.2 kB / 357.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003542/0.2754, allocations: 1.738 MB / 358.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.2754, allocations: 4 kB / 358.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.2775, allocations: 1.096 MB / 360 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.2793, allocations: 281.2 kB / 360.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009118/0.2884, allocations: 4.635 MB / 364.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.2906, allocations: 1.612 MB / 366.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.2917, allocations: 338.6 kB / 366.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.292, allocations: 84.48 kB / 367 MB, free: 5.441 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.292, allocations: 4 kB / 367 MB, free: 5.438 MB / 314.7 MB Notification: Performance of Templates: time 0.04176/0.3338, allocations: 20.3 MB / 387.3 MB, free: 1.504 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.017447056947276]