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.001281/0.001281, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009851/0.0009851, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.8592/0.8592, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.574e-05, allocations: 6.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008862/0.008877, allocations: 7.493 MB / 280.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.01385, allocations: 2.549 MB / 283.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005323/0.01439, allocations: 71.56 kB / 283.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.01531, allocations: 496.6 kB / 284 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.01747, allocations: 0.8891 MB / 284.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.01829, allocations: 409.6 kB / 285.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003297/0.02158, allocations: 3.371 MB / 288.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.02341, allocations: 1.591 MB / 290.3 MB, free: 300 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09733/0.1207, allocations: 2.439 MB / 292.7 MB, free: 16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.1228, allocations: 1.821 MB / 294.6 MB, free: 16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.1232, allocations: 354.9 kB / 294.9 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.1239, allocations: 478 kB / 295.4 MB, free: 16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005682/0.1244, allocations: 0.9414 MB / 296.3 MB, free: 16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009299/0.1254, allocations: 1.11 MB / 297.4 MB, free: 16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1275, allocations: 2.785 MB / 300.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1275, allocations: 2.062 kB / 300.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1275, allocations: 0 / 300.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.722e-05/0.1275, allocations: 0.5312 kB / 300.2 MB, free: 15.39 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.003683/0.1312, allocations: 3.359 MB / 303.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1312, allocations: 12.88 kB / 303.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.1334, allocations: 0.8616 MB / 304.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1346, allocations: 1.071 MB / 305.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.1347, allocations: 200.1 kB / 305.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.1349, allocations: 261.7 kB / 306 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.1367, allocations: 2.158 MB / 308.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.1368, allocations: 5.391 kB / 308.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.1369, allocations: 112.5 kB / 308.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.137, allocations: 106.8 kB / 308.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.1379, allocations: 0.62 MB / 309 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005496/0.1434, allocations: 6.323 MB / 315.3 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1447, allocations: 1.07 MB / 316.4 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.145, allocations: 351.4 kB / 316.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.1463, allocations: 1.262 MB / 318 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1464, allocations: 43.56 kB / 318 MB, free: 3.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.205e-06/0.1464, allocations: 0 / 318 MB, free: 3.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002053/0.1484, allocations: 1.271 MB / 319.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.1484, allocations: 90.11 kB / 319.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.1489, allocations: 0.8847 MB / 320.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.149, allocations: 45.7 kB / 320.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1492, allocations: 1.039 MB / 321.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1493, allocations: 367.9 kB / 321.7 MB, free: 300 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1495, allocations: 208 kB / 321.9 MB, free: 112 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.1496, allocations: 353.4 kB / 322.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1498, allocations: 114.6 kB / 322.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.15, allocations: 404.5 kB / 322.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.1506, allocations: 0.6428 MB / 323.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1506, allocations: 0 / 323.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009473/0.1515, allocations: 0.8393 MB / 324.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1515, allocations: 11.94 kB / 324.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1516, allocations: 9.328 kB / 324.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.1522, allocations: 358.8 kB / 324.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.1526, allocations: 202.4 kB / 324.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.1554, allocations: 4.376 MB / 329.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.1558, allocations: 119.1 kB / 329.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.1558, allocations: 35.98 kB / 329.3 MB, free: 8.547 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.0003156/0.1561, allocations: 183 kB / 329.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.1563, allocations: 119.8 kB / 329.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008742/0.1572, allocations: 0.7489 MB / 330.4 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1572, allocations: 12 kB / 330.4 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1572, allocations: 8 kB / 330.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1572, allocations: 11.97 kB / 330.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.1593, allocations: 2.001 MB / 332.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1593, allocations: 4 kB / 332.4 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.1595, allocations: 114.2 kB / 332.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005831/0.1601, allocations: 371.4 kB / 332.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.1602, allocations: 27.98 kB / 332.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.1631, allocations: 4.395 MB / 337.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1631, allocations: 5.594 kB / 337.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1642, allocations: 1.061 MB / 338.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1643, allocations: 142.9 kB / 338.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.1644, allocations: 27.98 kB / 338.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.1647, allocations: 55.97 kB / 338.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.1649, allocations: 92.39 kB / 338.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.1649, allocations: 23.98 kB / 338.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003342/0.1652, allocations: 445.8 kB / 339.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0 / 339.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001039/0.1663, allocations: 0.693 MB / 339.8 MB, free: 14.29 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.0001961/0.1665, allocations: 143.6 kB / 340 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009539/0.1674, allocations: 0.977 MB / 340.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.1674, allocations: 24.56 kB / 341 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.168, allocations: 0.723 MB / 341.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.1688, allocations: 289.5 kB / 342 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.1727, allocations: 3.873 MB / 345.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.1732, allocations: 0.613 MB / 346.5 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.1736, allocations: 174.9 kB / 346.6 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.1741, allocations: 321.1 kB / 346.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1741, allocations: 4 kB / 346.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of Templates: time 0.02657/0.2007, allocations: 21.7 MB / 368.6 MB, free: 1.836 MB / 314.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: 2.837481572292745]