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.0008407/0.0008407, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.0009322/0.0009322, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 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.9321/0.9321, allocations: 177 MB / 205.2 MB, free: 5 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.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.448e-05, allocations: 6.25 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006974/0.006999, allocations: 7.543 MB / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005509/0.01251, allocations: 2.552 MB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.01347, allocations: 71.56 kB / 283.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009112/0.01439, allocations: 480.7 kB / 284.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.01635, allocations: 0.8929 MB / 285 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.01713, allocations: 395.2 kB / 285.3 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.02006, allocations: 3.369 MB / 288.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1089/0.129, allocations: 1.588 MB / 290.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.1324, allocations: 2.439 MB / 292.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.1351, allocations: 1.825 MB / 294.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.1362, allocations: 356.9 kB / 294.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1374, allocations: 479.1 kB / 295.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006872/0.1381, allocations: 0.9449 MB / 296.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.1402, allocations: 1.115 MB / 297.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.1436, allocations: 2.778 MB / 300.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1436, allocations: 2.75 kB / 300.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1436, allocations: 0 / 300.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.1438, allocations: 0 / 300.2 MB, free: 14.73 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.005745/0.1495, allocations: 3.36 MB / 303.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1496, allocations: 13.17 kB / 303.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.1519, allocations: 0.8623 MB / 304.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.1536, allocations: 1.077 MB / 305.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.1537, allocations: 200.4 kB / 305.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.1539, allocations: 264.9 kB / 306 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.1562, allocations: 2.158 MB / 308.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.1562, allocations: 0 / 308.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.1564, allocations: 110.4 kB / 308.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-05/0.1565, allocations: 108.2 kB / 308.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1575, allocations: 0.618 MB / 309 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00691/0.1644, allocations: 6.322 MB / 315.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1657, allocations: 1.082 MB / 316.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.166, allocations: 347.8 kB / 316.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.1676, allocations: 1.265 MB / 318 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1676, allocations: 43.56 kB / 318 MB, free: 2.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.434e-06/0.1676, allocations: 0 / 318 MB, free: 2.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002084/0.1697, allocations: 1.27 MB / 319.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1697, allocations: 97.47 kB / 319.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.1704, allocations: 0.8833 MB / 320.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.1704, allocations: 41.7 kB / 320.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.1707, allocations: 1.032 MB / 321.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1709, allocations: 375.5 kB / 321.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.1711, allocations: 215.7 kB / 321.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.1712, allocations: 347.8 kB / 322.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1713, allocations: 114.6 kB / 322.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1716, allocations: 406 kB / 322.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.1722, allocations: 0.6431 MB / 323.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1722, allocations: 0 / 323.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009894/0.1732, allocations: 0.8332 MB / 324.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1732, allocations: 11.94 kB / 324.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1732, allocations: 12.88 kB / 324.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.1739, allocations: 362.9 kB / 324.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.1743, allocations: 210.8 kB / 324.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.1774, allocations: 4.389 MB / 329.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.178, allocations: 115.1 kB / 329.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.178, allocations: 39.98 kB / 329.4 MB, free: 7.699 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.0006547/0.1787, allocations: 173.4 kB / 329.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.1788, allocations: 123.8 kB / 329.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/0.1797, allocations: 0.752 MB / 330.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1797, allocations: 14.75 kB / 330.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1797, allocations: 8 kB / 330.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1797, allocations: 7.922 kB / 330.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.1822, allocations: 2.005 MB / 332.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1822, allocations: 4 kB / 332.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.1825, allocations: 135.1 kB / 332.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005945/0.1831, allocations: 356.4 kB / 332.9 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.1832, allocations: 31.97 kB / 333 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/0.1861, allocations: 4.417 MB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1861, allocations: 3.562 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1873, allocations: 1.059 MB / 338.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1875, allocations: 138.7 kB / 338.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.1876, allocations: 27.98 kB / 338.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.1879, allocations: 59.97 kB / 338.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.1881, allocations: 96.77 kB / 338.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.1881, allocations: 23.98 kB / 338.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003837/0.1885, allocations: 443.6 kB / 339.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1885, allocations: 0 / 339.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001409/0.1899, allocations: 0.6891 MB / 339.9 MB, free: 13.41 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.0002393/0.1901, allocations: 133.3 kB / 340 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1913, allocations: 0.9907 MB / 341 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/0.1913, allocations: 20.5 kB / 341 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.192, allocations: 0.7264 MB / 341.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.1927, allocations: 288.9 kB / 342.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.198, allocations: 3.861 MB / 345.9 MB, free: 7.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.1986, allocations: 0.6208 MB / 346.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005092/0.1991, allocations: 170.9 kB / 346.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.1996, allocations: 320.2 kB / 347 MB, free: 6.258 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1996, allocations: 0 / 347 MB, free: 6.258 MB / 298.7 MB Notification: Performance of Templates: time 0.02966/0.2292, allocations: 21.69 MB / 368.7 MB, free: 0.9805 MB / 314.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 -s gbode -gbm=radauIIA3 -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.0984988156706095]