Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 77.88 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 171.2 kB / 24.82 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9188/0.9188, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.565e-05, allocations: 2.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006288/0.006304, allocations: 7.485 MB / 280.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.01048, allocations: 2.437 MB / 283.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007391/0.01122, allocations: 67.56 kB / 283.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.01198, allocations: 480.6 kB / 283.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.01363, allocations: 0.8814 MB / 284.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.01428, allocations: 415.7 kB / 285.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.01701, allocations: 3.351 MB / 288.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.01869, allocations: 1.552 MB / 290 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1166/0.1353, allocations: 2.427 MB / 292.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.1376, allocations: 1.817 MB / 294.3 MB, free: 16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008977/0.1385, allocations: 355.4 kB / 294.6 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009171/0.1395, allocations: 472.3 kB / 295.1 MB, free: 16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006575/0.1401, allocations: 0.9439 MB / 296 MB, free: 16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.1417, allocations: 1.113 MB / 297.2 MB, free: 16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.1446, allocations: 2.778 MB / 299.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1446, allocations: 1.25 kB / 299.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1446, allocations: 3.938 kB / 299.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.1447, allocations: 0 / 299.9 MB, free: 15.53 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.004979/0.1497, allocations: 3.639 MB / 303.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1497, allocations: 12.59 kB / 303.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.1518, allocations: 0.9078 MB / 304.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.1532, allocations: 1.475 MB / 306 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/0.1533, allocations: 201 kB / 306.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.1535, allocations: 266.4 kB / 306.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1556, allocations: 2.106 MB / 308.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.1556, allocations: 0 / 308.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.1558, allocations: 116.6 kB / 308.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.1559, allocations: 101.2 kB / 308.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1569, allocations: 0.746 MB / 309.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006496/0.1634, allocations: 7.62 MB / 317.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1648, allocations: 1.201 MB / 318.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.1652, allocations: 399.5 kB / 318.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.1667, allocations: 1.714 MB / 320.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1667, allocations: 50.39 kB / 320.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.244e-06/0.1667, allocations: 0 / 320.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002222/0.1689, allocations: 1.462 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1689, allocations: 90.11 kB / 322 MB, free: 15.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.1698, allocations: 1.124 MB / 323.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.1699, allocations: 41.7 kB / 323.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.1705, allocations: 1.299 MB / 324.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.1707, allocations: 396.9 kB / 324.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.1709, allocations: 241 kB / 325.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.171, allocations: 0.5556 MB / 325.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.1712, allocations: 134.5 kB / 325.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.1716, allocations: 0.5412 MB / 326.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.1722, allocations: 0.779 MB / 327.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.1723, allocations: 0 / 327.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001157/0.1734, allocations: 1.042 MB / 328.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1734, allocations: 12.56 kB / 328.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1734, allocations: 14.7 kB / 328.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.1741, allocations: 355 kB / 328.5 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1745, allocations: 210.7 kB / 328.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.1779, allocations: 5.642 MB / 334.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.1782, allocations: 111.1 kB / 334.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.1783, allocations: 48.02 kB / 334.5 MB, free: 3.211 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.0003396/0.1786, allocations: 228.7 kB / 334.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1788, allocations: 171.1 kB / 334.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.1797, allocations: 0.8752 MB / 335.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.1797, allocations: 12 kB / 335.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1798, allocations: 11.94 kB / 335.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1798, allocations: 3.984 kB / 335.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.1825, allocations: 2.818 MB / 338.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1825, allocations: 4 kB / 338.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.1828, allocations: 115.7 kB / 338.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006176/0.1834, allocations: 377.9 kB / 339.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.1835, allocations: 27.98 kB / 339.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.187, allocations: 5.61 MB / 344.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.187, allocations: 7.875 kB / 344.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1883, allocations: 1.343 MB / 346.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1884, allocations: 153.2 kB / 346.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.1885, allocations: 28 kB / 346.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.1889, allocations: 51.97 kB / 346.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.189, allocations: 104.1 kB / 346.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.189, allocations: 27.98 kB / 346.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000434/0.1895, allocations: 0.6122 MB / 347.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1895, allocations: 4 kB / 347.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001169/0.1906, allocations: 0.6891 MB / 347.8 MB, free: 6.168 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.0002271/0.1909, allocations: 153.2 kB / 347.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.192, allocations: 1.159 MB / 349.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.192, allocations: 1 kB / 349.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.1927, allocations: 0.8895 MB / 350 MB, free: 3.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.1935, allocations: 296.9 kB / 350.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.1979, allocations: 3.991 MB / 354.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.1984, allocations: 0.7691 MB / 355 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00037/0.1988, allocations: 162.9 kB / 355.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.1994, allocations: 378 kB / 355.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1994, allocations: 0 / 355.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.02685/0.2262, allocations: 21.86 MB / 377.4 MB, free: 8.863 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.1221114927902818]