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.001861/0.001861, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002324/0.002324, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.55/1.55, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..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.463e-06/1.463e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.886e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01086/0.01089, allocations: 7.63 MB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.01633, allocations: 2.452 MB / 282.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.0176, allocations: 71.56 kB / 282.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.01906, allocations: 460.8 kB / 282.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.02217, allocations: 0.9008 MB / 283.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.02354, allocations: 406.5 kB / 284.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005126/0.02866, allocations: 3.336 MB / 287.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.03154, allocations: 1.564 MB / 289.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1198/0.1513, allocations: 2.116 MB / 291.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/0.1549, allocations: 1.679 MB / 292.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.156, allocations: 358.8 kB / 293.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.1575, allocations: 488.9 kB / 293.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00093/0.1584, allocations: 0.953 MB / 294.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003435/0.1618, allocations: 1.117 MB / 295.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.168, allocations: 4.804 MB / 300.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.168, allocations: 1.031 kB / 300.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.168, allocations: 1.375 kB / 300.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000171/0.1681, allocations: 0 / 300.6 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.01002/0.1782, allocations: 4.069 MB / 304.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1782, allocations: 12.59 kB / 304.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/0.1825, allocations: 1.065 MB / 305.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.1859, allocations: 1.663 MB / 307.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.186, allocations: 199.9 kB / 307.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.1863, allocations: 267 kB / 307.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/0.1917, allocations: 3.837 MB / 311.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.1918, allocations: 0 / 311.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.192, allocations: 117.1 kB / 311.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-05/0.1921, allocations: 102.3 kB / 311.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003928/0.196, allocations: 2.758 MB / 314.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.2138, allocations: 10.72 MB / 325.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.218, allocations: 1.586 MB / 327 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.2195, allocations: 0.7646 MB / 327.8 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005037/0.2245, allocations: 2.044 MB / 329.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.2246, allocations: 46.39 kB / 329.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.2246, allocations: 0 / 329.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.006531/0.2311, allocations: 2.188 MB / 332 MB, free: 4.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.2312, allocations: 90.11 kB / 332.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.2338, allocations: 1.57 MB / 333.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.2339, allocations: 41.7 kB / 333.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.2352, allocations: 1.35 MB / 335.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/0.2356, allocations: 401.6 kB / 335.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.2361, allocations: 268.5 kB / 335.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003644/0.2365, allocations: 0.5668 MB / 336.3 MB, free: 452 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.2377, allocations: 466.8 kB / 336.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.2391, allocations: 0.873 MB / 337.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.2414, allocations: 1.404 MB / 339 MB, free: 13.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.2414, allocations: 7.938 kB / 339 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003674/0.245, allocations: 1.746 MB / 340.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2451, allocations: 8 kB / 340.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.2451, allocations: 10.88 kB / 340.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.2467, allocations: 457 kB / 341.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.2475, allocations: 214.2 kB / 341.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008981/0.2565, allocations: 6.65 MB / 348.1 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.2578, allocations: 134 kB / 348.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.2579, allocations: 55.98 kB / 348.3 MB, free: 4.043 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.001651/0.2595, allocations: 0.7872 MB / 349.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.26, allocations: 179 kB / 349.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.2631, allocations: 1.38 MB / 350.6 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.2631, allocations: 12 kB / 350.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2631, allocations: 4 kB / 350.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.2631, allocations: 7.969 kB / 350.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/0.2715, allocations: 3.863 MB / 354.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.2715, allocations: 4 kB / 354.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.2721, allocations: 122.8 kB / 354.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.2737, allocations: 456.5 kB / 355.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/0.2738, allocations: 27.98 kB / 355.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008835/0.2826, allocations: 6.643 MB / 361.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2827, allocations: 4 kB / 361.8 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.2869, allocations: 2.205 MB / 364 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/0.2876, allocations: 166.8 kB / 364.1 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.2877, allocations: 24 kB / 364.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008062/0.2886, allocations: 79.92 kB / 364.2 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.2888, allocations: 100.8 kB / 364.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.2889, allocations: 39.98 kB / 364.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001617/0.2905, allocations: 0.9474 MB / 365.3 MB, free: 2.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2905, allocations: 4 kB / 365.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002467/0.293, allocations: 0.6924 MB / 366 MB, free: 2.062 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.00036/0.2934, allocations: 157.4 kB / 366.2 MB, free: 1.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.2968, allocations: 1.75 MB / 367.9 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2968, allocations: 256 / 367.9 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.2988, allocations: 1.142 MB / 369.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.3006, allocations: 292.8 kB / 369.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.3091, allocations: 4.319 MB / 373.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.3111, allocations: 1.48 MB / 375.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.3121, allocations: 270.7 kB / 375.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.3124, allocations: 92.47 kB / 375.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3124, allocations: 0 / 375.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of Templates: time 0.04159/0.3539, allocations: 20.46 MB / 396 MB, free: 4.328 MB / 346.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.244647197891027]