Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009651/0.0009651, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009515/0.0009515, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9053/0.9053, allocations: 177 MB / 204.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.843e-05, allocations: 6.25 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01258/0.0126, allocations: 16.13 MB / 289.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1176/0.1302, allocations: 4.653 MB / 293.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.1323, allocations: 155.5 kB / 293.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007846/0.1402, allocations: 7.693 MB / 301.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.144, allocations: 2.029 MB / 303.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.146, allocations: 1.539 MB / 305.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006211/0.1522, allocations: 9.924 MB / 315.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.1649, allocations: 13.52 MB / 328.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008917/0.1738, allocations: 7.798 MB / 336.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00634/0.1801, allocations: 5.956 MB / 342.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.1825, allocations: 1.359 MB / 343.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.1851, allocations: 1.663 MB / 345.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.1867, allocations: 2.895 MB / 348.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003174/0.1899, allocations: 3.653 MB / 351.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007238/0.1971, allocations: 9.423 MB / 361.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1971, allocations: 0 / 361.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1971, allocations: 0 / 361.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.1972, allocations: 0 / 361.3 MB, free: 9.734 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.0169/0.2141, allocations: 13.09 MB / 374.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2142, allocations: 19.92 kB / 374.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.2323, allocations: 7.627 MB / 382.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0074/0.2397, allocations: 5.486 MB / 387.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005997/0.2403, allocations: 0.6665 MB / 388.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.2414, allocations: 0.8905 MB / 389.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.2532, allocations: 8.063 MB / 397.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.2533, allocations: 8 kB / 397.2 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006174/0.2539, allocations: 372 kB / 397.5 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003076/0.2542, allocations: 0.4914 MB / 398 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007654/0.2619, allocations: 4.364 MB / 402.4 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2554/0.5173, allocations: 35.4 MB / 437.8 MB, free: 80.41 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005429/0.5227, allocations: 4.147 MB / 441.9 MB, free: 80.21 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.5242, allocations: 1.352 MB / 443.3 MB, free: 80.16 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.5245, allocations: 136.5 kB / 443.4 MB, free: 80.16 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.5245, allocations: 80.83 kB / 443.5 MB, free: 80.11 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 6.272e-06/0.5245, allocations: 0 / 443.5 MB, free: 80.11 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.008843/0.5334, allocations: 5.431 MB / 448.9 MB, free: 79.84 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5334, allocations: 124.5 kB / 449.1 MB, free: 79.74 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.5359, allocations: 3.083 MB / 452.1 MB, free: 79.43 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.5361, allocations: 96.64 kB / 452.2 MB, free: 79.4 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.5375, allocations: 4.068 MB / 456.3 MB, free: 77.73 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/0.5382, allocations: 1.499 MB / 457.8 MB, free: 76.96 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.5393, allocations: 1.283 MB / 459.1 MB, free: 76.86 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.5393, allocations: 479.2 kB / 459.6 MB, free: 76.39 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.5406, allocations: 0.9056 MB / 460.5 MB, free: 76.38 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.5427, allocations: 4.005 MB / 464.5 MB, free: 72.74 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.5463, allocations: 5.44 MB / 469.9 MB, free: 69.02 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.203e-05/0.5463, allocations: 16.91 kB / 469.9 MB, free: 69.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.005984/0.5523, allocations: 5.325 MB / 475.2 MB, free: 68.58 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.5523, allocations: 32 kB / 475.3 MB, free: 68.58 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/0.5524, allocations: 68 kB / 475.3 MB, free: 68.58 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.5545, allocations: 1.076 MB / 476.4 MB, free: 68.52 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.5566, allocations: 1.298 MB / 477.7 MB, free: 68.52 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.5625, allocations: 7.932 MB / 485.6 MB, free: 63.98 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.5643, allocations: 0.7392 MB / 486.4 MB, free: 63.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.5645, allocations: 281.6 kB / 486.7 MB, free: 63.32 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001593/0.5661, allocations: 0.524 MB / 487.2 MB, free: 63.04 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/0.5666, allocations: 0.4988 MB / 487.7 MB, free: 62.59 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.5711, allocations: 3.9 MB / 491.6 MB, free: 60.33 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003383/0.5745, allocations: 2.871 MB / 494.5 MB, free: 58.36 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5745, allocations: 12 kB / 494.5 MB, free: 58.34 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.5745, allocations: 19.92 kB / 494.5 MB, free: 58.32 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.5866, allocations: 11.37 MB / 0.494 GB, free: 47.49 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.5866, allocations: 12 kB / 0.494 GB, free: 47.48 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.5887, allocations: 0.7975 MB / 0.4948 GB, free: 46.72 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.5911, allocations: 1.006 MB / 0.4958 GB, free: 45.71 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/0.5914, allocations: 112 kB / 0.4959 GB, free: 45.6 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00725/0.5986, allocations: 7.797 MB / 0.5035 GB, free: 37.61 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.5986, allocations: 20.62 kB / 0.5035 GB, free: 37.59 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007587/0.6062, allocations: 5.596 MB / 0.509 GB, free: 31.75 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.6075, allocations: 0.8556 MB / 0.5098 GB, free: 30.89 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/0.6079, allocations: 95.98 kB / 0.5099 GB, free: 30.8 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.6093, allocations: 267.7 kB / 0.5102 GB, free: 30.54 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005485/0.6099, allocations: 367.8 kB / 0.5105 GB, free: 30.19 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/0.6101, allocations: 148 kB / 0.5107 GB, free: 30.05 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001633/0.6117, allocations: 1.343 MB / 0.512 GB, free: 28.7 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6117, allocations: 4 kB / 0.512 GB, free: 28.7 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004754/0.6165, allocations: 2.258 MB / 0.5142 GB, free: 26.43 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/0.617, allocations: 291.4 kB / 0.5145 GB, free: 26.18 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006208/0.6232, allocations: 4.457 MB / 0.5188 GB, free: 21.9 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.6232, allocations: 4 kB / 0.5188 GB, free: 21.9 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.6263, allocations: 2.444 MB / 0.5212 GB, free: 19.53 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.6291, allocations: 0.8143 MB / 0.522 GB, free: 18.76 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.6469, allocations: 13.4 MB / 0.5351 GB, free: 5.055 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.6489, allocations: 2.497 MB / 0.5375 GB, free: 2.527 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003101/0.652, allocations: 1.814 MB / 0.5393 GB, free: 0.707 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.6525, allocations: 344.4 kB / 0.5396 GB, free: 380 kB / 378.8 MB Notification: Performance of SimCode: time 1.442e-06/0.6525, allocations: 0 / 0.5396 GB, free: 380 kB / 378.8 MB Notification: Performance of Templates: time 0.1837/0.8363, allocations: 58.13 MB / 0.5964 GB, free: 109.3 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.551497787702829]