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.0008977/0.0008977, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008481/0.0008481, allocations: 145.3 kB / 24.89 MB, free: 8.785 MB / 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 0.9938/0.9938, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.934e-06/1.934e-06, allocations: 3.938 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.731e-05, allocations: 2.312 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008171/0.008188, allocations: 6.985 MB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.01242, allocations: 2.261 MB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005879/0.01301, allocations: 63.62 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.01391, allocations: 476.7 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.01572, allocations: 0.9046 MB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.01634, allocations: 363.3 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.01935, allocations: 3.267 MB / 282.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.02122, allocations: 1.584 MB / 284.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.02346, allocations: 2.382 MB / 286.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.02546, allocations: 1.82 MB / 288.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004026/0.02586, allocations: 356 kB / 289 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.02658, allocations: 471.7 kB / 289.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.129/0.1556, allocations: 0.9394 MB / 290.4 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.1583, allocations: 1.11 MB / 291.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.1629, allocations: 2.755 MB / 294.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1629, allocations: 1.156 kB / 294.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1629, allocations: 2.125 kB / 294.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.163, allocations: 0 / 294.2 MB, free: 19.16 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.006538/0.1696, allocations: 3.33 MB / 297.5 MB, free: 17.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.1696, allocations: 10.77 kB / 297.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.172, allocations: 0.8336 MB / 298.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.1744, allocations: 1.03 MB / 299.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.1746, allocations: 200.9 kB / 299.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.175, allocations: 265.9 kB / 299.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.1781, allocations: 2.165 MB / 302 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/0.1782, allocations: 0 / 302 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.1784, allocations: 113.5 kB / 302.2 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.1785, allocations: 102.8 kB / 302.3 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1796, allocations: 0.6147 MB / 302.9 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008128/0.1877, allocations: 6.32 MB / 309.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.1892, allocations: 1.087 MB / 310.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1896, allocations: 339.7 kB / 310.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/0.1919, allocations: 1.237 MB / 311.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1919, allocations: 47.09 kB / 311.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.426e-06/0.1919, allocations: 0 / 311.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00237/0.1943, allocations: 1.262 MB / 313.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1943, allocations: 90.11 kB / 313.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.1952, allocations: 0.8658 MB / 314.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.1953, allocations: 45.7 kB / 314.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.1956, allocations: 1.022 MB / 315.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.1957, allocations: 378.7 kB / 315.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1959, allocations: 199.6 kB / 315.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.196, allocations: 363.1 kB / 316.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1961, allocations: 110.6 kB / 316.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1963, allocations: 409.9 kB / 316.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.1968, allocations: 0.6378 MB / 317.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.1968, allocations: 0 / 317.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009348/0.1977, allocations: 0.8354 MB / 318.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1978, allocations: 11.94 kB / 318.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1978, allocations: 8 kB / 318.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.1984, allocations: 355.9 kB / 318.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.1988, allocations: 216.9 kB / 318.7 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.2015, allocations: 4.369 MB / 323 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.2022, allocations: 123.2 kB / 323.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.2022, allocations: 36 kB / 323.2 MB, free: 2.074 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.0007894/0.203, allocations: 178.6 kB / 323.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2032, allocations: 119.8 kB / 323.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.204, allocations: 0.7582 MB / 324.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.204, allocations: 8 kB / 324.2 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.204, allocations: 8 kB / 324.2 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.204, allocations: 3.984 kB / 324.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.2068, allocations: 1.999 MB / 326.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2068, allocations: 4 kB / 326.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.2071, allocations: 128.6 kB / 326.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000683/0.2078, allocations: 357.9 kB / 326.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.2078, allocations: 27.98 kB / 326.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.2113, allocations: 4.434 MB / 331.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2113, allocations: 0 / 331.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.2126, allocations: 1.066 MB / 332.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.2128, allocations: 140.9 kB / 332.4 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2129, allocations: 28 kB / 332.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.2133, allocations: 55.97 kB / 332.5 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.2134, allocations: 88.81 kB / 332.6 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.2135, allocations: 27.98 kB / 332.6 MB, free: 8.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.2139, allocations: 431.6 kB / 333 MB, free: 8.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2139, allocations: 4 kB / 333 MB, free: 8.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001611/0.2155, allocations: 0.6852 MB / 333.7 MB, free: 7.809 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.0002644/0.2158, allocations: 134.3 kB / 333.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.2171, allocations: 0.9707 MB / 334.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.586e-05/0.2171, allocations: 13.5 kB / 334.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.2178, allocations: 0.7316 MB / 335.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.2186, allocations: 288.3 kB / 335.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.2243, allocations: 3.84 MB / 339.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.2249, allocations: 0.6285 MB / 340.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005237/0.2254, allocations: 162.8 kB / 340.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/0.2259, allocations: 317.1 kB / 340.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2259, allocations: 2.734 kB / 340.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of Templates: time 0.03141/0.2573, allocations: 21.47 MB / 362.2 MB, free: 11.61 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",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.161918770056218]