Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009225/0.0009225, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9522/0.9522, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.975e-05, allocations: 5.125 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006388/0.006418, allocations: 7.707 MB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.009723, allocations: 2.46 MB / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.01019, allocations: 71.56 kB / 283.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.01092, allocations: 472.7 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.01232, allocations: 0.8853 MB / 284.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.01284, allocations: 417.7 kB / 284.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.0154, allocations: 3.338 MB / 288.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.01691, allocations: 1.56 MB / 289.8 MB, free: 416 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1318/0.1487, allocations: 2.118 MB / 291.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.1509, allocations: 1.684 MB / 293.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008102/0.1517, allocations: 358.7 kB / 294 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.1526, allocations: 488.7 kB / 294.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000623/0.1532, allocations: 0.949 MB / 295.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.1547, allocations: 1.119 MB / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.1573, allocations: 2.81 MB / 299.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1573, allocations: 1.844 kB / 299.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1573, allocations: 2.719 kB / 299.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.036e-05/0.1574, allocations: 1.375 kB / 299.3 MB, free: 15.34 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.004531/0.1619, allocations: 3.864 MB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1619, allocations: 12.77 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.1641, allocations: 1.064 MB / 304.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.1657, allocations: 1.641 MB / 305.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.1658, allocations: 197.5 kB / 306.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.166, allocations: 273.4 kB / 306.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.1684, allocations: 2.272 MB / 308.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.1684, allocations: 0 / 308.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.1686, allocations: 116.6 kB / 308.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/0.1686, allocations: 102.2 kB / 308.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.1702, allocations: 0.9715 MB / 309.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006509/0.1767, allocations: 8.222 MB / 318 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.1784, allocations: 1.343 MB / 319.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.1789, allocations: 458.6 kB / 319.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/0.1806, allocations: 1.769 MB / 321.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1807, allocations: 50.39 kB / 321.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.295e-06/0.1807, allocations: 0 / 321.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.00283/0.1835, allocations: 1.58 MB / 323.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1835, allocations: 90.11 kB / 323.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.1845, allocations: 1.149 MB / 324.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.1846, allocations: 49.7 kB / 324.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.1852, allocations: 1.291 MB / 325.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.1854, allocations: 393.9 kB / 326.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.1856, allocations: 244.5 kB / 326.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1857, allocations: 0.5433 MB / 327 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.186, allocations: 170.5 kB / 327.1 MB, free: 9.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.1865, allocations: 0.576 MB / 327.7 MB, free: 9.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.1873, allocations: 0.8482 MB / 328.6 MB, free: 8.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1873, allocations: 3.938 kB / 328.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001384/0.1887, allocations: 1.14 MB / 329.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1888, allocations: 12.62 kB / 329.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1888, allocations: 8.344 kB / 329.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/0.1895, allocations: 390.9 kB / 330.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.19, allocations: 214.4 kB / 330.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.1938, allocations: 5.814 MB / 336.1 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.1943, allocations: 135.1 kB / 336.3 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.1943, allocations: 51.98 kB / 336.3 MB, free: 164 kB / 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.0004341/0.1948, allocations: 222.3 kB / 336.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.1949, allocations: 179 kB / 336.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.1961, allocations: 0.9548 MB / 337.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1961, allocations: 12 kB / 337.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1961, allocations: 4 kB / 337.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1961, allocations: 3.984 kB / 337.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.1991, allocations: 2.908 MB / 340.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1992, allocations: 0 / 340.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.1994, allocations: 126.6 kB / 340.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007229/0.2001, allocations: 400.5 kB / 341.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.2002, allocations: 27.98 kB / 341.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.2048, allocations: 5.809 MB / 346.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2048, allocations: 0 / 346.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.2068, allocations: 1.44 MB / 348.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.207, allocations: 170.8 kB / 348.5 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.2071, allocations: 27.98 kB / 348.6 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.2076, allocations: 75.92 kB / 348.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.2078, allocations: 108.4 kB / 348.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.2079, allocations: 35.98 kB / 348.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007755/0.2086, allocations: 0.6663 MB / 349.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2086, allocations: 0 / 349.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001617/0.2103, allocations: 0.6852 MB / 350.1 MB, free: 2.078 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,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.0002561/0.2105, allocations: 157.1 kB / 350.3 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.2122, allocations: 1.228 MB / 351.5 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2122, allocations: 9.031 kB / 351.5 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.2132, allocations: 0.9168 MB / 352.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.2143, allocations: 291.4 kB / 352.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.2196, allocations: 4.005 MB / 356.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.2203, allocations: 0.7614 MB / 357.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.2209, allocations: 270.7 kB / 357.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.2211, allocations: 96.47 kB / 357.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2211, allocations: 0 / 357.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of Templates: time 0.02919/0.2503, allocations: 20.48 MB / 378.3 MB, free: 6.125 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.30505531700328]