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.0009317/0.0009317, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008977/0.0008977, allocations: 143.4 kB / 24.89 MB, free: 8.727 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.9243/0.9243, allocations: 173.4 MB / 201.5 MB, free: 8.758 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.513e-06/1.513e-06, allocations: 0 / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.769e-05, allocations: 6.25 kB / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007704/0.007721, allocations: 6.952 MB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.01129, allocations: 2.249 MB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.01168, allocations: 67.62 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.0123, allocations: 472.8 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.01361, allocations: 0.9202 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.01407, allocations: 363.2 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.01634, allocations: 3.275 MB / 282.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.01755, allocations: 1.58 MB / 284.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.01928, allocations: 2.375 MB / 286.7 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.02071, allocations: 1.816 MB / 288.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.02104, allocations: 360 kB / 288.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.02157, allocations: 475.7 kB / 289.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005228/0.02209, allocations: 0.9387 MB / 290.3 MB, free: 68 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1065/0.1286, allocations: 1.109 MB / 291.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.1317, allocations: 2.756 MB / 294.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1317, allocations: 1.031 kB / 294.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1317, allocations: 0 / 294.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.177e-05/0.1318, allocations: 0 / 294.1 MB, free: 19.12 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.005469/0.1373, allocations: 3.33 MB / 297.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1373, allocations: 10.45 kB / 297.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.1399, allocations: 0.8331 MB / 298.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.1416, allocations: 1.027 MB / 299.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.1418, allocations: 202.2 kB / 299.5 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.1421, allocations: 266.4 kB / 299.8 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.1449, allocations: 2.156 MB / 301.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.145, allocations: 3.875 kB / 302 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.1452, allocations: 112.1 kB / 302.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.385e-05/0.1453, allocations: 108.4 kB / 302.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.1467, allocations: 0.6136 MB / 302.8 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007354/0.154, allocations: 6.317 MB / 309.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.1557, allocations: 1.087 MB / 310.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.1561, allocations: 340 kB / 310.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/0.1579, allocations: 1.238 MB / 311.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1579, allocations: 49.56 kB / 311.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.625e-06/0.1579, allocations: 0 / 311.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002705/0.1606, allocations: 1.257 MB / 313.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.1606, allocations: 90.11 kB / 313.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.1613, allocations: 0.8673 MB / 314 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.1613, allocations: 45.7 kB / 314.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.1616, allocations: 1.031 MB / 315.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.1618, allocations: 373.8 kB / 315.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.162, allocations: 212.5 kB / 315.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.1621, allocations: 348.9 kB / 316 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.1623, allocations: 114.6 kB / 316.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1625, allocations: 407.4 kB / 316.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.1631, allocations: 0.6329 MB / 317.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1631, allocations: 4 kB / 317.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001091/0.1642, allocations: 0.8327 MB / 318 MB, free: 7.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1642, allocations: 12.38 kB / 318 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1642, allocations: 15.62 kB / 318 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007236/0.1649, allocations: 353.4 kB / 318.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.1654, allocations: 194.1 kB / 318.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.1683, allocations: 4.357 MB / 322.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.1688, allocations: 119.2 kB / 323 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.1688, allocations: 43.98 kB / 323.1 MB, free: 2.148 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.0003588/0.1692, allocations: 176 kB / 323.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.1694, allocations: 123.8 kB / 323.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009859/0.1703, allocations: 0.7509 MB / 324.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1704, allocations: 12 kB / 324.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1704, allocations: 8 kB / 324.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.1704, allocations: 3.984 kB / 324.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.1729, allocations: 2.003 MB / 326.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1729, allocations: 0 / 326.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1732, allocations: 119.5 kB / 326.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/0.174, allocations: 359.9 kB / 326.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.174, allocations: 27.98 kB / 326.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.1773, allocations: 4.416 MB / 331 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1773, allocations: 0 / 331 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1783, allocations: 1.064 MB / 332.1 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1784, allocations: 138.8 kB / 332.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.1785, allocations: 28 kB / 332.3 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.1789, allocations: 55.97 kB / 332.3 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.179, allocations: 96.56 kB / 332.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.179, allocations: 23.98 kB / 332.4 MB, free: 8.984 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003264/0.1793, allocations: 431.5 kB / 332.9 MB, free: 8.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1793, allocations: 0 / 332.9 MB, free: 8.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001036/0.1804, allocations: 0.6852 MB / 333.6 MB, free: 7.918 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.000193/0.1806, allocations: 135 kB / 333.7 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009553/0.1815, allocations: 0.9808 MB / 334.7 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/0.1815, allocations: 12.5 kB / 334.7 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.1822, allocations: 0.7223 MB / 335.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.1829, allocations: 288.3 kB / 335.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.1868, allocations: 3.843 MB / 339.5 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.1873, allocations: 0.6246 MB / 340.1 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.1877, allocations: 170.8 kB / 340.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.1882, allocations: 319.6 kB / 340.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1882, allocations: 0 / 340.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of Templates: time 0.02584/0.214, allocations: 21.46 MB / 362.1 MB, free: 11.73 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 -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: 2.9647692861035466]