Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001375/0.001375, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001556/0.001556, allocations: 209.7 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 51.92 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2471, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0177/0.2648, allocations: 14.31 MB / 445.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2749, allocations: 4.548 MB / 450.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.2779, allocations: 155.2 kB / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01744/0.2954, allocations: 6.688 MB / 457.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007621/0.303, allocations: 1.986 MB / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.3079, allocations: 1.525 MB / 460.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.3215, allocations: 9.612 MB / 470.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02532/0.3468, allocations: 13.46 MB / 483.9 MB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008398/0.3552, allocations: 5.389 MB / 489.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009956/0.3652, allocations: 5.836 MB / 495.1 MB, free: 6.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003764/0.3689, allocations: 1.359 MB / 496.5 MB, free: 5.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005314/0.3742, allocations: 1.656 MB / 498.1 MB, free: 3.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003996/0.3782, allocations: 2.798 MB / 0.4892 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008067/0.3863, allocations: 4.191 MB / 0.4933 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02178/0.4081, allocations: 18.49 MB / 0.5113 GB, free: 10.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4081, allocations: 0 / 0.5113 GB, free: 10.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4081, allocations: 0 / 0.5113 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003941/0.4085, allocations: 0 / 0.5113 GB, free: 10.28 MB / 430.1 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.03556/0.444, allocations: 12.26 MB / 0.5233 GB, free: 13.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4441, allocations: 8.031 kB / 0.5233 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03661/0.4807, allocations: 6.191 MB / 0.5294 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.4957, allocations: 5.925 MB / 0.5352 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006666/0.4964, allocations: 0.6704 MB / 0.5358 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/0.4994, allocations: 0.8788 MB / 0.5367 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4103/0.9097, allocations: 14.97 MB / 0.5513 GB, free: 84.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/0.9099, allocations: 10.2 kB / 0.5513 GB, free: 84.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009765/0.9108, allocations: 379.3 kB / 0.5517 GB, free: 83.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/0.9112, allocations: 498.9 kB / 0.5521 GB, free: 83.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.932, allocations: 13.51 MB / 0.5653 GB, free: 72.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05991/0.9919, allocations: 38.54 MB / 0.603 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/1.001, allocations: 5.97 MB / 0.6088 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/1.004, allocations: 2.862 MB / 0.6116 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/1.004, allocations: 111.9 kB / 0.6117 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.004, allocations: 77.78 kB / 0.6118 GB, free: 24.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.313e-06/1.004, allocations: 0 / 0.6118 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01734/1.022, allocations: 9.438 MB / 0.621 GB, free: 15.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.022, allocations: 121.1 kB / 0.6211 GB, free: 15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/1.026, allocations: 3.234 MB / 0.6243 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/1.026, allocations: 89.7 kB / 0.6243 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.027, allocations: 3.821 MB / 0.6281 GB, free: 8.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008296/1.028, allocations: 1.464 MB / 0.6295 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/1.03, allocations: 1.144 MB / 0.6306 GB, free: 5.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.03, allocations: 309.1 kB / 0.6309 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.033, allocations: 2.841 MB / 0.6337 GB, free: 2.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005523/1.039, allocations: 4.911 MB / 0.6385 GB, free: 12.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/1.051, allocations: 8.267 MB / 0.6466 GB, free: 3.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.611e-05/1.051, allocations: 27.88 kB / 0.6466 GB, free: 3.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01671/1.068, allocations: 9.107 MB / 0.6555 GB, free: 10.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/1.068, allocations: 36 kB / 0.6555 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/1.068, allocations: 67.94 kB / 0.6556 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003453/1.071, allocations: 1.142 MB / 0.6567 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/1.076, allocations: 1.302 MB / 0.658 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.092, allocations: 10.38 MB / 0.6681 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/1.097, allocations: 0.7532 MB / 0.6688 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009823/1.098, allocations: 288 kB / 0.6691 GB, free: 12.21 MB / 494.1 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.006587/1.104, allocations: 3.419 MB / 0.6725 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.105, allocations: 365.6 kB / 0.6728 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.119, allocations: 6.866 MB / 0.6795 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009975/1.129, allocations: 5.729 MB / 0.6851 GB, free: 11.77 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.508e-05/1.129, allocations: 12 kB / 0.6851 GB, free: 11.76 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/1.129, allocations: 23.86 kB / 0.6851 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.156, allocations: 13.46 MB / 0.6983 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/1.156, allocations: 16 kB / 0.6983 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/1.159, allocations: 0.7957 MB / 0.6991 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.163, allocations: 1.064 MB / 0.7001 GB, free: 12.24 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004179/1.163, allocations: 112 kB / 0.7002 GB, free: 12.13 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/1.179, allocations: 10.14 MB / 0.7101 GB, free: 1.785 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/1.179, allocations: 20.19 kB / 0.7101 GB, free: 1.766 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/1.199, allocations: 10.7 MB / 0.7206 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/1.202, allocations: 0.9571 MB / 0.7215 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008593/1.202, allocations: 99.98 kB / 0.7216 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.205, allocations: 271.8 kB / 0.7219 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007907/1.206, allocations: 367 kB / 0.7222 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003915/1.206, allocations: 148 kB / 0.7224 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003864/1.21, allocations: 2.085 MB / 0.7244 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.21, allocations: 0 / 0.7244 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006654/1.217, allocations: 2.258 MB / 0.7266 GB, free: 0.6406 MB / 0.5294 GB 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.0007638/1.217, allocations: 302.1 kB / 0.7269 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.231, allocations: 7.169 MB / 0.7339 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.307e-05/1.231, allocations: 0 / 0.7339 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006641/1.237, allocations: 3.413 MB / 0.7372 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/1.242, allocations: 0.782 MB / 0.738 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2311/1.473, allocations: 16.23 MB / 0.7538 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005387/1.478, allocations: 5.466 MB / 0.7592 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00439/1.483, allocations: 2.152 MB / 0.7613 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/1.484, allocations: 342.6 kB / 0.7616 GB, free: 178.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/1.484, allocations: 1.531 kB / 0.7616 GB, free: 178.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08839/1.572, allocations: 63.89 MB / 0.824 GB, free: 123 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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: 7.907923083752394]