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.001776/0.001776, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001922/0.001922, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 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 0.001593/0.001593, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2731, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009434/0.2826, allocations: 6.942 MB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.2876, allocations: 2.378 MB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.2886, allocations: 71.56 kB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2897, allocations: 460.9 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.2923, allocations: 0.8665 MB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2933, allocations: 387.2 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004324/0.2976, allocations: 3.259 MB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.2997, allocations: 1.58 MB / 448.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.3017, allocations: 1.453 MB / 449.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.3043, allocations: 1.728 MB / 451.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.3048, allocations: 356 kB / 451.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.3058, allocations: 487.8 kB / 452.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008728/0.3067, allocations: 0.9154 MB / 453.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.3084, allocations: 1.303 MB / 454.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005189/0.3136, allocations: 4.733 MB / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3136, allocations: 3.938 kB / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3136, allocations: 0 / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001061/0.3137, allocations: 0 / 459.2 MB, free: 11.68 MB / 366.1 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.009177/0.3229, allocations: 3.651 MB / 462.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.323, allocations: 16.02 kB / 462.9 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.3271, allocations: 0.7406 MB / 463.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.3314, allocations: 1.799 MB / 465.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.3315, allocations: 193.7 kB / 465.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/0.3321, allocations: 268.1 kB / 465.9 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006717/0.3388, allocations: 3.848 MB / 469.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.3389, allocations: 0 / 469.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.3391, allocations: 112 kB / 469.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.3392, allocations: 101.4 kB / 469.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005626/0.3449, allocations: 3.093 MB / 473 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/0.3621, allocations: 8.932 MB / 482 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.3661, allocations: 1.743 MB / 483.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.3676, allocations: 0.8645 MB / 484.6 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004414/0.372, allocations: 1.996 MB / 486.6 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3721, allocations: 47.38 kB / 486.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.376e-06/0.3721, allocations: 0 / 486.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.00654/0.3786, allocations: 2.495 MB / 489.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3787, allocations: 93.92 kB / 489.2 MB, free: 13.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.3807, allocations: 1.363 MB / 490.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.3808, allocations: 53.64 kB / 490.6 MB, free: 11.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008968/0.3817, allocations: 1.199 MB / 491.8 MB, free: 10.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.382, allocations: 376.8 kB / 492.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.3824, allocations: 218.9 kB / 492.4 MB, free: 9.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3826, allocations: 357.9 kB / 492.8 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009654/0.3835, allocations: 0.5647 MB / 493.3 MB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.3847, allocations: 0.8496 MB / 494.2 MB, free: 7.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.3868, allocations: 1.459 MB / 495.6 MB, free: 6.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.3868, allocations: 4 kB / 495.6 MB, free: 6.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003583/0.3904, allocations: 1.954 MB / 497.6 MB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3904, allocations: 8 kB / 497.6 MB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.3904, allocations: 11.94 kB / 497.6 MB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.3915, allocations: 402.9 kB / 498 MB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.3924, allocations: 219.6 kB / 498.2 MB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/0.4002, allocations: 6.195 MB / 0.4926 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4013, allocations: 139.1 kB / 0.4927 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.4014, allocations: 44 kB / 0.4928 GB, free: 13.22 MB / 414.1 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.001449/0.4028, allocations: 0.8739 MB / 0.4936 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.4032, allocations: 147.1 kB / 0.4938 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.4062, allocations: 1.628 MB / 0.4953 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4062, allocations: 8 kB / 0.4953 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4062, allocations: 8 kB / 0.4954 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.4062, allocations: 3.984 kB / 0.4954 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/0.4128, allocations: 3.377 MB / 0.4987 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4128, allocations: 0 / 0.4987 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.4134, allocations: 140 kB / 0.4988 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.4144, allocations: 396.2 kB / 0.4992 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-05/0.4145, allocations: 35.92 kB / 0.4992 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008017/0.4225, allocations: 6.164 MB / 0.5052 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4225, allocations: 3.938 kB / 0.5052 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/0.427, allocations: 2.474 MB / 0.5076 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.4275, allocations: 174.9 kB / 0.5078 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4277, allocations: 24 kB / 0.5078 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.4285, allocations: 87.91 kB / 0.5079 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4287, allocations: 100.6 kB / 0.508 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.4288, allocations: 35.92 kB / 0.508 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0014/0.4302, allocations: 0.9474 MB / 0.509 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4302, allocations: 0 / 0.509 GB, free: 12.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001926/0.4321, allocations: 0.693 MB / 0.5096 GB, free: 11.58 MB / 430.1 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.0003247/0.4324, allocations: 155 kB / 0.5098 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.4358, allocations: 1.733 MB / 0.5115 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4358, allocations: 0 / 0.5115 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.4377, allocations: 1.093 MB / 0.5126 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.4394, allocations: 288.4 kB / 0.5128 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/0.4476, allocations: 4.656 MB / 0.5174 GB, free: 3.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.4495, allocations: 1.569 MB / 0.5189 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.45, allocations: 99.41 kB / 0.519 GB, free: 1.824 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.45, allocations: 0 / 0.519 GB, free: 1.824 MB / 430.1 MB Notification: Performance of Templates: time 0.2918/0.7418, allocations: 54.32 MB / 0.572 GB, free: 72.86 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 10.845977966993814]