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.00251/0.00251, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.003075/0.003075, allocations: 160.9 kB / 24.27 MB, free: 136 kB / 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 1.567/1.567, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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 2.545e-06/2.545e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.964e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01249/0.01252, allocations: 7.618 MB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006471/0.01899, allocations: 2.46 MB / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.02053, allocations: 71.56 kB / 282.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.02211, allocations: 460.8 kB / 282.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.02537, allocations: 0.893 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.02666, allocations: 407.1 kB / 284.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.03205, allocations: 3.341 MB / 287.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.03501, allocations: 1.552 MB / 289 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1154/0.1504, allocations: 2.12 MB / 291.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.1528, allocations: 1.678 MB / 292.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.1534, allocations: 360.2 kB / 293.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1545, allocations: 488.4 kB / 293.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007996/0.1553, allocations: 0.948 MB / 294.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.1567, allocations: 1.124 MB / 295.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.162, allocations: 4.804 MB / 300.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.162, allocations: 0 / 300.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.162, allocations: 1.375 kB / 300.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.1621, allocations: 0 / 300.5 MB, free: 15.37 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.008549/0.1706, allocations: 4.072 MB / 304.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1707, allocations: 11.83 kB / 304.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/0.1747, allocations: 1.065 MB / 305.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.1779, allocations: 1.663 MB / 307.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.178, allocations: 202.5 kB / 307.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.1783, allocations: 265 kB / 307.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/0.1835, allocations: 3.833 MB / 311.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.1836, allocations: 3.656 kB / 311.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.1838, allocations: 115.6 kB / 311.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.011e-05/0.1839, allocations: 104.7 kB / 311.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.1878, allocations: 2.758 MB / 314.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.2049, allocations: 10.72 MB / 325.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/0.2091, allocations: 1.598 MB / 326.9 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.2105, allocations: 0.761 MB / 327.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00472/0.2153, allocations: 2.041 MB / 329.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.2153, allocations: 50.39 kB / 329.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.2153, allocations: 3.938 kB / 329.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.006511/0.2218, allocations: 2.178 MB / 331.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.2219, allocations: 90.11 kB / 332 MB, free: 4.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.2247, allocations: 1.574 MB / 333.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2248, allocations: 45.7 kB / 333.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.2261, allocations: 1.347 MB / 335 MB, free: 1.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.2265, allocations: 414.5 kB / 335.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.2269, allocations: 264.5 kB / 335.6 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003784/0.2273, allocations: 0.5707 MB / 336.2 MB, free: 408 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009283/0.2283, allocations: 450.3 kB / 336.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.2296, allocations: 0.8827 MB / 337.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.2319, allocations: 1.404 MB / 338.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.2319, allocations: 7.938 kB / 338.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003838/0.2357, allocations: 1.742 MB / 340.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.2358, allocations: 8 kB / 340.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2358, allocations: 8 kB / 340.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.2374, allocations: 464.2 kB / 341.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.2383, allocations: 207 kB / 341.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008989/0.2472, allocations: 6.654 MB / 348 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.2484, allocations: 135.1 kB / 348.1 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.2485, allocations: 44 kB / 348.2 MB, free: 4.012 MB / 298.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.001642/0.2501, allocations: 0.797 MB / 349 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.2505, allocations: 179.8 kB / 349.2 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.2536, allocations: 1.371 MB / 350.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.2536, allocations: 12 kB / 350.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.2536, allocations: 8 kB / 350.6 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2537, allocations: 3.984 kB / 350.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008044/0.2617, allocations: 3.863 MB / 354.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2617, allocations: 3.656 kB / 354.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.2623, allocations: 119.6 kB / 354.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.2638, allocations: 455.4 kB / 355 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.2639, allocations: 35.97 kB / 355 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008757/0.2726, allocations: 6.647 MB / 361.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2726, allocations: 0 / 361.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.2769, allocations: 2.202 MB / 363.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.2774, allocations: 166.8 kB / 364 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.2776, allocations: 24 kB / 364.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.2784, allocations: 83.91 kB / 364.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.2786, allocations: 108.3 kB / 364.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.2787, allocations: 35.98 kB / 364.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001621/0.2803, allocations: 0.9435 MB / 365.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2803, allocations: 0 / 365.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002092/0.2824, allocations: 0.6891 MB / 365.9 MB, free: 2.016 MB / 314.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.0003172/0.2827, allocations: 154.7 kB / 366.1 MB, free: 1.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003263/0.286, allocations: 1.747 MB / 367.8 MB, free: 120 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.286, allocations: 4 kB / 367.8 MB, free: 116 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.2881, allocations: 1.139 MB / 369 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.2896, allocations: 291.2 kB / 369.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/0.2977, allocations: 4.316 MB / 373.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/0.2996, allocations: 1.484 MB / 375 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009591/0.3006, allocations: 274.7 kB / 375.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.3009, allocations: 88.48 kB / 375.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3009, allocations: 4 kB / 375.4 MB, free: 8.383 MB / 330.7 MB Notification: Performance of Templates: time 0.04222/0.3432, allocations: 20.45 MB / 395.8 MB, free: 4.328 MB / 346.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.388751488993876]