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.001957/0.001957, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002233/0.002233, allocations: 189 kB / 23.72 MB, free: 4.68 MB / 14.72 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.423/1.423, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 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 0.001524/0.001524, allocations: 47.91 kB / 370.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009099/0.2385, allocations: 7.318 MB / 430.4 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.2425, allocations: 2.207 MB / 432.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.243, allocations: 71.56 kB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009595/0.244, allocations: 460.9 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.2461, allocations: 0.9131 MB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007872/0.2469, allocations: 367 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.2506, allocations: 3.148 MB / 437.6 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.2526, allocations: 1.577 MB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.2545, allocations: 1.457 MB / 440.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.2567, allocations: 1.709 MB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000573/0.2573, allocations: 364 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000976/0.2583, allocations: 483.8 kB / 443.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.2591, allocations: 0.9114 MB / 444.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.261, allocations: 1.598 MB / 445.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.266, allocations: 4.686 MB / 450.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.266, allocations: 0 / 450.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.266, allocations: 0 / 450.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.392e-05/0.266, allocations: 0 / 450.3 MB, free: 3.309 MB / 350.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.00879/0.2748, allocations: 3.628 MB / 454 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2749, allocations: 8.031 kB / 454 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.2785, allocations: 0.7132 MB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.2822, allocations: 1.752 MB / 456.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.2824, allocations: 201.7 kB / 456.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004388/0.2828, allocations: 268.1 kB / 456.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006374/0.2892, allocations: 3.603 MB / 460.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.2892, allocations: 4 kB / 460.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.2895, allocations: 111.9 kB / 460.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.2896, allocations: 109.4 kB / 460.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005416/0.295, allocations: 3.097 MB / 463.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.3112, allocations: 10.1 MB / 473.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.3153, allocations: 1.778 MB / 475.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.3168, allocations: 0.8645 MB / 476.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003802/0.3206, allocations: 2.152 MB / 478.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.3207, allocations: 47.42 kB / 478.8 MB, free: 6.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.3207, allocations: 0 / 478.8 MB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.00669/0.3273, allocations: 2.495 MB / 481.3 MB, free: 3.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3274, allocations: 93.98 kB / 481.4 MB, free: 3.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.3294, allocations: 1.367 MB / 482.7 MB, free: 2.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.3295, allocations: 45.7 kB / 482.8 MB, free: 2.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009438/0.3304, allocations: 1.191 MB / 484 MB, free: 1.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.3307, allocations: 384.8 kB / 484.3 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.3311, allocations: 222.9 kB / 484.5 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3313, allocations: 345.9 kB / 484.9 MB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3323, allocations: 0.5686 MB / 485.5 MB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.3335, allocations: 0.8412 MB / 486.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.3358, allocations: 1.455 MB / 487.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3358, allocations: 4 kB / 487.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003543/0.3394, allocations: 1.954 MB / 489.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3394, allocations: 8 kB / 489.7 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.3394, allocations: 11.98 kB / 489.7 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3404, allocations: 400.7 kB / 490.1 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.3413, allocations: 219.7 kB / 490.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/0.3495, allocations: 6.325 MB / 496.7 MB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.3505, allocations: 147 kB / 496.8 MB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.3506, allocations: 51.92 kB / 496.9 MB, free: 3.715 MB / 398.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.001434/0.352, allocations: 0.8681 MB / 497.7 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.3523, allocations: 139.1 kB / 497.9 MB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.3555, allocations: 1.644 MB / 499.5 MB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.3555, allocations: 8 kB / 499.5 MB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3556, allocations: 8 kB / 499.5 MB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3556, allocations: 3.984 kB / 499.5 MB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/0.3621, allocations: 3.894 MB / 0.4916 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3621, allocations: 0 / 0.4916 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.3627, allocations: 136 kB / 0.4917 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009439/0.3637, allocations: 397.2 kB / 0.4921 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.3638, allocations: 27.98 kB / 0.4922 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007966/0.3717, allocations: 6.309 MB / 0.4983 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3717, allocations: 4.031 kB / 0.4983 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.376, allocations: 2.47 MB / 0.5007 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.3764, allocations: 166.9 kB / 0.5009 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.3765, allocations: 28 kB / 0.5009 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000831/0.3774, allocations: 91.91 kB / 0.501 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3776, allocations: 96.62 kB / 0.5011 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.3776, allocations: 39.92 kB / 0.5011 GB, free: 3.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.3791, allocations: 0.9591 MB / 0.5021 GB, free: 2.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3791, allocations: 0 / 0.5021 GB, free: 2.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001859/0.3809, allocations: 0.6813 MB / 0.5027 GB, free: 1.379 MB / 414.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.0002864/0.3812, allocations: 158.5 kB / 0.5029 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.3845, allocations: 1.728 MB / 0.5046 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3845, allocations: 1.188 kB / 0.5046 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.3864, allocations: 1.097 MB / 0.5056 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.3879, allocations: 310.2 kB / 0.5059 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.3962, allocations: 4.672 MB / 0.5105 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.3983, allocations: 2.176 MB / 0.5126 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.3995, allocations: 343 kB / 0.513 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.3998, allocations: 87.36 kB / 0.513 GB, free: 6.652 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3998, allocations: 0 / 0.513 GB, free: 6.652 MB / 430.1 MB Notification: Performance of Templates: time 0.04095/0.4408, allocations: 21.82 MB / 0.5344 GB, free: 1.047 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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.305368630215526]