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.00185/0.00185, allocations: 95.86 kB / 20.96 MB, free: 3.457 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.001825/0.001825, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.525/1.525, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.784e-06/1.784e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.91e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01021/0.01024, allocations: 7.069 MB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.01515, allocations: 2.153 MB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.016, allocations: 67.56 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.01711, allocations: 468.7 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.01983, allocations: 0.9125 MB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.02077, allocations: 363.2 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004436/0.0252, allocations: 3.25 MB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.02752, allocations: 1.537 MB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.03064, allocations: 2.125 MB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.03339, allocations: 1.684 MB / 286.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007046/0.0341, allocations: 356 kB / 287.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.03524, allocations: 483.7 kB / 287.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.03627, allocations: 0.9465 MB / 288.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.03804, allocations: 1.119 MB / 289.8 MB, free: 116 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1154/0.1535, allocations: 4.766 MB / 294.6 MB, free: 19.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1535, allocations: 0 / 294.6 MB, free: 19.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1535, allocations: 0 / 294.6 MB, free: 19.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001704/0.1537, allocations: 0 / 294.6 MB, free: 19.35 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.01067/0.1643, allocations: 4.049 MB / 298.6 MB, free: 17.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1644, allocations: 10.17 kB / 298.6 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.1684, allocations: 1.035 MB / 299.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.1721, allocations: 1.619 MB / 301.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.1723, allocations: 197.9 kB / 301.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004644/0.1728, allocations: 264.8 kB / 301.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.1785, allocations: 3.831 MB / 305.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/0.1786, allocations: 0 / 305.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.1788, allocations: 112.2 kB / 305.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/0.1789, allocations: 109 kB / 305.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00412/0.183, allocations: 2.754 MB / 308.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.1984, allocations: 10.71 MB / 319.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.2017, allocations: 1.588 MB / 320.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.2027, allocations: 0.7727 MB / 321.6 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003804/0.2065, allocations: 2.013 MB / 323.6 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.2065, allocations: 46.39 kB / 323.7 MB, free: 440 kB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.266e-06/0.2065, allocations: 0 / 323.7 MB, free: 440 kB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.006454/0.213, allocations: 2.179 MB / 325.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.2131, allocations: 90.11 kB / 325.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.2156, allocations: 1.537 MB / 327.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.2157, allocations: 41.7 kB / 327.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.217, allocations: 1.333 MB / 328.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.2175, allocations: 410.7 kB / 329.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/0.2179, allocations: 260.5 kB / 329.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003748/0.2183, allocations: 0.5746 MB / 330.1 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/0.2192, allocations: 451.2 kB / 330.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.2205, allocations: 0.8729 MB / 331.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.2229, allocations: 1.401 MB / 332.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.2229, allocations: 3.938 kB / 332.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003704/0.2266, allocations: 1.742 MB / 334.5 MB, free: 5.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.2266, allocations: 8 kB / 334.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.2266, allocations: 8 kB / 334.5 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.2283, allocations: 454.1 kB / 335 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008899/0.2292, allocations: 219.9 kB / 335.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008878/0.238, allocations: 6.648 MB / 341.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.2393, allocations: 135.1 kB / 342 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.2394, allocations: 47.98 kB / 342 MB, free: 13.6 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.001712/0.2412, allocations: 0.7916 MB / 342.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.2416, allocations: 175.1 kB / 343 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.2448, allocations: 1.367 MB / 344.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2448, allocations: 16 kB / 344.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.2448, allocations: 8.625 kB / 344.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.2448, allocations: 7.969 kB / 344.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008066/0.2529, allocations: 3.836 MB / 348.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2529, allocations: 4.188 kB / 348.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.2535, allocations: 138.7 kB / 348.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.2551, allocations: 449.1 kB / 348.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/0.2551, allocations: 27.98 kB / 348.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008642/0.2638, allocations: 6.653 MB / 355.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.2638, allocations: 4 kB / 355.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.2679, allocations: 2.186 MB / 357.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/0.2684, allocations: 158.8 kB / 357.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.2686, allocations: 24 kB / 357.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.2694, allocations: 91.91 kB / 357.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.2697, allocations: 108.4 kB / 358.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.2698, allocations: 31.98 kB / 358.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.2713, allocations: 0.9269 MB / 359 MB, free: 12.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2713, allocations: 0 / 359 MB, free: 12.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002185/0.2735, allocations: 0.6879 MB / 359.7 MB, free: 11.67 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.0003308/0.2738, allocations: 153.5 kB / 359.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.2772, allocations: 1.743 MB / 361.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2772, allocations: 0 / 361.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.2793, allocations: 1.142 MB / 362.7 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.281, allocations: 283.2 kB / 363 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/0.2894, allocations: 4.295 MB / 367.3 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/0.2915, allocations: 1.476 MB / 368.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000987/0.2925, allocations: 270.6 kB / 369 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.2928, allocations: 88.48 kB / 369.1 MB, free: 2.078 MB / 314.7 MB Notification: Performance of SimCode: time 1.011e-06/0.2928, allocations: 0 / 369.1 MB, free: 2.078 MB / 314.7 MB Notification: Performance of Templates: time 0.04104/0.3338, allocations: 20.26 MB / 389.4 MB, free: 14.19 MB / 346.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.207671941956505]