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.00139/0.00139, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001572/0.001572, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001607/0.001607, allocations: 51.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2293, allocations: 53.37 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009453/0.2388, allocations: 6.942 MB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.2442, allocations: 2.377 MB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.2453, allocations: 71.56 kB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.2464, allocations: 456.9 kB / 441.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.2489, allocations: 0.8742 MB / 442.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.2499, allocations: 391.2 kB / 442.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.254, allocations: 3.26 MB / 445.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.2563, allocations: 1.576 MB / 447.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.2582, allocations: 1.46 MB / 449 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.2607, allocations: 1.72 MB / 450.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005793/0.2612, allocations: 356 kB / 451 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.2624, allocations: 491.8 kB / 451.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.2633, allocations: 0.9114 MB / 452.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.265, allocations: 1.303 MB / 453.7 MB, free: 264 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.2702, allocations: 4.745 MB / 458.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2702, allocations: 0 / 458.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2702, allocations: 0 / 458.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.559e-05/0.2703, allocations: 0 / 458.5 MB, free: 11.5 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.008863/0.2792, allocations: 3.648 MB / 462.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2792, allocations: 12.03 kB / 462.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.2834, allocations: 0.7406 MB / 462.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/0.2876, allocations: 1.795 MB / 464.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.2877, allocations: 201.7 kB / 464.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004975/0.2882, allocations: 264.1 kB / 465.1 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006607/0.2948, allocations: 3.848 MB / 469 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.2949, allocations: 0 / 469 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002613/0.2952, allocations: 104 kB / 469.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.2953, allocations: 109.4 kB / 469.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.3007, allocations: 3.093 MB / 472.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.317, allocations: 8.916 MB / 481.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/0.3211, allocations: 1.757 MB / 483 MB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.3225, allocations: 0.8645 MB / 483.8 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004268/0.3268, allocations: 2 MB / 485.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3268, allocations: 43.44 kB / 485.9 MB, free: 15.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.015e-06/0.3268, allocations: 0 / 485.9 MB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006448/0.3333, allocations: 2.491 MB / 488.4 MB, free: 13.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3333, allocations: 89.98 kB / 488.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.3354, allocations: 1.367 MB / 489.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.3355, allocations: 41.7 kB / 489.9 MB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009738/0.3365, allocations: 1.203 MB / 491.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.3368, allocations: 384.8 kB / 491.4 MB, free: 9.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.3372, allocations: 218.9 kB / 491.6 MB, free: 9.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3373, allocations: 353.9 kB / 492 MB, free: 9.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/0.3383, allocations: 0.5724 MB / 492.6 MB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.3395, allocations: 0.8457 MB / 493.4 MB, free: 7.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.3418, allocations: 1.455 MB / 494.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.3418, allocations: 11.94 kB / 494.9 MB, free: 6.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003571/0.3454, allocations: 1.954 MB / 496.8 MB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3454, allocations: 12.03 kB / 496.8 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3454, allocations: 8 kB / 496.8 MB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3464, allocations: 397.2 kB / 497.2 MB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/0.3473, allocations: 215.7 kB / 497.4 MB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007932/0.3552, allocations: 6.203 MB / 0.4918 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3563, allocations: 135.2 kB / 0.492 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.3564, allocations: 51.98 kB / 0.492 GB, free: 13.05 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.001545/0.3579, allocations: 0.872 MB / 0.4929 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.3582, allocations: 139.1 kB / 0.493 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.3613, allocations: 1.636 MB / 0.4946 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3613, allocations: 8 kB / 0.4946 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3613, allocations: 8 kB / 0.4946 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3613, allocations: 7.969 kB / 0.4946 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/0.3677, allocations: 3.373 MB / 0.4979 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3677, allocations: 0 / 0.4979 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.3683, allocations: 135.8 kB / 0.4981 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009639/0.3692, allocations: 391.1 kB / 0.4984 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.3693, allocations: 39.91 kB / 0.4985 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007838/0.3772, allocations: 6.167 MB / 0.5045 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3772, allocations: 4.031 kB / 0.5045 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/0.3814, allocations: 2.485 MB / 0.5069 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.3819, allocations: 170.9 kB / 0.5071 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.382, allocations: 24 kB / 0.5071 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.3828, allocations: 87.91 kB / 0.5072 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.3831, allocations: 104.6 kB / 0.5073 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.3831, allocations: 35.98 kB / 0.5073 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.3845, allocations: 0.9396 MB / 0.5082 GB, free: 12.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3845, allocations: 0 / 0.5082 GB, free: 12.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001868/0.3864, allocations: 0.693 MB / 0.5089 GB, free: 11.41 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.0002928/0.3867, allocations: 155 kB / 0.5091 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.3898, allocations: 1.736 MB / 0.5108 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3898, allocations: 0 / 0.5108 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.3917, allocations: 1.086 MB / 0.5118 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.3932, allocations: 288.5 kB / 0.5121 GB, free: 8.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/0.4009, allocations: 4.683 MB / 0.5167 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.4027, allocations: 1.625 MB / 0.5183 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009342/0.4037, allocations: 334.7 kB / 0.5186 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.4039, allocations: 91.42 kB / 0.5187 GB, free: 1.246 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4039, allocations: 4 kB / 0.5187 GB, free: 1.242 MB / 430.1 MB Notification: Performance of Templates: time 0.2304/0.6343, allocations: 23.82 MB / 0.5419 GB, free: 99.63 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/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.389697701670229]