Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002384/0.002384, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002646/0.002646, allocations: 159.9 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.305e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01067/0.0107, allocations: 6.99 MB / 257.4 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.01582, allocations: 2.208 MB / 259.6 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.01664, allocations: 59.56 kB / 259.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.01783, allocations: 460.7 kB / 260.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.02069, allocations: 0.8659 MB / 260.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.02171, allocations: 375.2 kB / 261.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.02669, allocations: 3.24 MB / 264.5 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.0292, allocations: 1.524 MB / 266.1 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.0334, allocations: 2.113 MB / 268.2 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.03658, allocations: 1.68 MB / 269.9 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.03736, allocations: 363.9 kB / 270.2 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.0386, allocations: 467.8 kB / 270.7 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.03979, allocations: 0.9503 MB / 271.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.04172, allocations: 1.119 MB / 272.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006267/0.04799, allocations: 4.756 MB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.04799, allocations: 0 / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.048, allocations: 4 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.04811, allocations: 0 / 277.5 MB, free: 12.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.01033/0.05844, allocations: 4.033 MB / 281.5 MB, free: 8.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.05849, allocations: 11.98 kB / 281.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/0.06276, allocations: 1.033 MB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/0.06705, allocations: 1.504 MB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.06726, allocations: 201.7 kB / 284.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005234/0.06779, allocations: 268.3 kB / 284.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/0.0754, allocations: 3.828 MB / 288.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.07546, allocations: 3.938 kB / 288.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.07574, allocations: 112 kB / 288.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.07587, allocations: 105.4 kB / 288.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005663/0.08154, allocations: 2.75 MB / 291.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.103, allocations: 10.83 MB / 302.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.1075, allocations: 1.703 MB / 303.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.1089, allocations: 0.7703 MB / 304.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00491/0.1139, allocations: 2.044 MB / 306.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.1139, allocations: 50.39 kB / 306.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.468e-06/0.1139, allocations: 7.938 kB / 306.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.006775/0.1207, allocations: 2.212 MB / 309 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.1208, allocations: 90.11 kB / 309 MB, free: 12.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.1233, allocations: 1.549 MB / 310.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.1234, allocations: 45.64 kB / 310.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.1247, allocations: 1.334 MB / 312 MB, free: 9.383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.1252, allocations: 404.8 kB / 312.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.1256, allocations: 268.5 kB / 312.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003787/0.126, allocations: 0.5706 MB / 313.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.1269, allocations: 470.3 kB / 313.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.1285, allocations: 0.8924 MB / 314.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.1308, allocations: 1.421 MB / 316 MB, free: 5.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.1308, allocations: 4 kB / 316 MB, free: 5.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003691/0.1345, allocations: 1.776 MB / 317.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.1345, allocations: 11.94 kB / 317.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.1345, allocations: 8 kB / 317.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.1362, allocations: 466.8 kB / 318.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/0.137, allocations: 207.7 kB / 318.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009289/0.1463, allocations: 6.755 MB / 325.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.1477, allocations: 135.1 kB / 325.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.1479, allocations: 51.98 kB / 325.4 MB, free: 11.38 MB / 314.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.001898/0.1498, allocations: 0.7928 MB / 326.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.1503, allocations: 167.2 kB / 326.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.1534, allocations: 1.394 MB / 327.7 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.1534, allocations: 12 kB / 327.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1534, allocations: 8 kB / 327.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.1534, allocations: 3.984 kB / 327.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008624/0.1621, allocations: 3.905 MB / 331.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1621, allocations: 0 / 331.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.1627, allocations: 131.8 kB / 331.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.1643, allocations: 459.2 kB / 332.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/0.1644, allocations: 35.92 kB / 332.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009328/0.1737, allocations: 6.754 MB / 339 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1737, allocations: 3.938 kB / 339 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.178, allocations: 2.216 MB / 341.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.1785, allocations: 162.8 kB / 341.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.1787, allocations: 35.98 kB / 341.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/0.1795, allocations: 83.91 kB / 341.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.1798, allocations: 104.7 kB / 341.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.1799, allocations: 35.98 kB / 341.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.1814, allocations: 0.9347 MB / 342.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 8 kB / 342.6 MB, free: 9.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002347/0.1838, allocations: 0.6852 MB / 343.3 MB, free: 9.043 MB / 330.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0003421/0.1841, allocations: 143 kB / 343.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.1876, allocations: 1.756 MB / 345.2 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1876, allocations: 1.188 kB / 345.2 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.1898, allocations: 1.152 MB / 346.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.1915, allocations: 304.2 kB / 346.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/0.2, allocations: 4.312 MB / 350.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1076/0.3076, allocations: 1.472 MB / 352.4 MB, free: 96.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001147/0.3087, allocations: 270 kB / 352.7 MB, free: 96.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.309, allocations: 91.52 kB / 352.8 MB, free: 96.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3091, allocations: 0 / 352.8 MB, free: 96.25 MB / 330.7 MB Notification: Performance of Templates: time 0.02999/0.339, allocations: 20.51 MB / 373.3 MB, free: 83.43 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.219465141068213]