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.001637/0.001637, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.00178/0.00178, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.917/0.917, allocations: 173.3 MB / 201.1 MB, free: 9.328 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 2.375e-06/2.375e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.004e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008194/0.008224, allocations: 7.124 MB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.01168, allocations: 2.176 MB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005576/0.01224, allocations: 67.62 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.013, allocations: 460.8 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.01479, allocations: 0.9047 MB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.01538, allocations: 359.3 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.01801, allocations: 3.252 MB / 282.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.01948, allocations: 1.548 MB / 283.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.02154, allocations: 2.121 MB / 286 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.02307, allocations: 1.688 MB / 287.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.02346, allocations: 360 kB / 288 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.0241, allocations: 471.8 kB / 288.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005365/0.02464, allocations: 0.9542 MB / 289.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1121/0.1367, allocations: 1.111 MB / 290.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.1409, allocations: 2.789 MB / 293.3 MB, free: 18.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1409, allocations: 1.031 kB / 293.3 MB, free: 18.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1409, allocations: 1.75 kB / 293.3 MB, free: 18.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.1411, allocations: 0 / 293.3 MB, free: 18.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.008017/0.1491, allocations: 3.835 MB / 297.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1492, allocations: 11.14 kB / 297.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.1519, allocations: 1.032 MB / 298.2 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.1546, allocations: 1.599 MB / 299.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.1547, allocations: 195.7 kB / 300 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/0.1551, allocations: 266 kB / 300.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.1588, allocations: 2.274 MB / 302.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.1588, allocations: 0 / 302.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.159, allocations: 111.3 kB / 302.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.912e-05/0.1591, allocations: 105.8 kB / 302.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1611, allocations: 0.9566 MB / 303.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009209/0.1703, allocations: 8.221 MB / 311.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.1722, allocations: 1.345 MB / 313.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.1728, allocations: 452.2 kB / 313.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.175, allocations: 1.741 MB / 315.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.175, allocations: 50.39 kB / 315.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.906e-06/0.175, allocations: 0 / 315.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002764/0.1778, allocations: 1.587 MB / 317.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1778, allocations: 86.11 kB / 317.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/0.1788, allocations: 1.127 MB / 318.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.1789, allocations: 53.69 kB / 318.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.1793, allocations: 1.271 MB / 319.6 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.1794, allocations: 390.2 kB / 320 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.1796, allocations: 243.4 kB / 320.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.1797, allocations: 0.5433 MB / 320.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.18, allocations: 174.5 kB / 321 MB, free: 2.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.1803, allocations: 0.5798 MB / 321.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.181, allocations: 0.8325 MB / 322.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.181, allocations: 15.25 kB / 322.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001333/0.1823, allocations: 1.133 MB / 323.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1824, allocations: 11.98 kB / 323.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.1824, allocations: 8 kB / 323.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/0.1832, allocations: 379.1 kB / 323.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.1837, allocations: 220.8 kB / 324.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.1879, allocations: 5.812 MB / 329.9 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.1885, allocations: 131.1 kB / 330.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.1886, allocations: 52.98 kB / 330.1 MB, free: 9.117 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.0007465/0.1893, allocations: 229.7 kB / 330.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.1895, allocations: 175 kB / 330.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1908, allocations: 0.9521 MB / 331.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1908, allocations: 12 kB / 331.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1908, allocations: 4 kB / 331.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1908, allocations: 7.984 kB / 331.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.1943, allocations: 2.886 MB / 334.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1943, allocations: 4.188 kB / 334.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.1946, allocations: 138.6 kB / 334.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.1953, allocations: 389.3 kB / 334.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.1954, allocations: 31.98 kB / 334.9 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.1993, allocations: 5.793 MB / 340.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.1993, allocations: 12.02 kB / 340.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.201, allocations: 1.431 MB / 342.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.2013, allocations: 162.8 kB / 342.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2014, allocations: 31.98 kB / 342.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.2018, allocations: 83.92 kB / 342.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.202, allocations: 112.6 kB / 342.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.202, allocations: 31.98 kB / 342.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007275/0.2027, allocations: 0.6497 MB / 343.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2027, allocations: 0 / 343.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001728/0.2045, allocations: 0.6774 MB / 343.9 MB, free: 11.07 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.0002806/0.2048, allocations: 155.8 kB / 344.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.2063, allocations: 1.236 MB / 345.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2063, allocations: 0 / 345.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.2072, allocations: 0.9145 MB / 346.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.2081, allocations: 288.3 kB / 346.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.2137, allocations: 3.978 MB / 350.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.2143, allocations: 0.7651 MB / 351.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006135/0.2149, allocations: 270.6 kB / 351.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.2151, allocations: 88.48 kB / 351.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2151, allocations: 0 / 351.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of Templates: time 0.02669/0.2418, allocations: 20.28 MB / 371.9 MB, free: 15.33 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=240 -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.3262828630395234]