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.00147/0.00147, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001919/0.001919, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.489/1.489, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.913e-06/1.913e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.164e-05, allocations: 6.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02116/0.02119, allocations: 14.32 MB / 286.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1227/0.1439, allocations: 4.589 MB / 291.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.1466, allocations: 158.6 kB / 291.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01487/0.1615, allocations: 7.076 MB / 298.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007064/0.1685, allocations: 2.028 MB / 300.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.1722, allocations: 1.511 MB / 301.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009434/0.1816, allocations: 9.909 MB / 311.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.018/0.1996, allocations: 13.5 MB / 325.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01416/0.2138, allocations: 7.73 MB / 333 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.2239, allocations: 5.257 MB / 338.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003612/0.2276, allocations: 1.359 MB / 339.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.2329, allocations: 1.669 MB / 341.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004084/0.237, allocations: 2.853 MB / 344.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008333/0.2453, allocations: 3.599 MB / 347.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02538/0.2707, allocations: 18.66 MB / 366.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2707, allocations: 3.984 kB / 366.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2707, allocations: 0 / 366.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004839/0.2712, allocations: 4 kB / 366.4 MB, free: 3.465 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.03856/0.3098, allocations: 12.16 MB / 378.6 MB, free: 7.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3098, allocations: 11.98 kB / 378.6 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04104/0.3509, allocations: 7.619 MB / 386.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.3676, allocations: 6.154 MB / 392.4 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/0.3687, allocations: 0.6665 MB / 393.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/0.3725, allocations: 0.8788 MB / 393.9 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0409/0.4134, allocations: 14.97 MB / 408.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003861/0.4138, allocations: 11.95 kB / 408.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003049/0.4169, allocations: 376 kB / 409.3 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000724/0.4176, allocations: 0.4953 MB / 409.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/0.45, allocations: 13.51 MB / 423.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2959/0.746, allocations: 39.65 MB / 462.9 MB, free: 90.61 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009993/0.7559, allocations: 5.988 MB / 468.9 MB, free: 88.05 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/0.7602, allocations: 2.866 MB / 471.8 MB, free: 86.59 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/0.7607, allocations: 136.9 kB / 471.9 MB, free: 86.55 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.257e-05/0.7608, allocations: 78.03 kB / 472 MB, free: 86.48 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 8.265e-06/0.7608, allocations: 0 / 472 MB, free: 86.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.02292/0.7837, allocations: 9.582 MB / 481.6 MB, free: 79.73 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.7838, allocations: 121.1 kB / 481.7 MB, free: 79.59 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/0.7893, allocations: 3.231 MB / 484.9 MB, free: 76.43 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005553/0.7899, allocations: 89.7 kB / 485 MB, free: 76.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.792, allocations: 3.81 MB / 488.8 MB, free: 73.15 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.7935, allocations: 1.449 MB / 490.3 MB, free: 71.89 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002763/0.7962, allocations: 1.132 MB / 491.4 MB, free: 70.75 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.7963, allocations: 301.1 kB / 491.7 MB, free: 70.45 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/0.8002, allocations: 2.845 MB / 494.6 MB, free: 67.6 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/0.8049, allocations: 4.908 MB / 499.5 MB, free: 61.75 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009063/0.8139, allocations: 8.271 MB / 0.4958 GB, free: 52.54 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.951e-05/0.814, allocations: 20 kB / 0.4959 GB, free: 52.52 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01692/0.8309, allocations: 9.389 MB / 0.505 GB, free: 43.12 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.831, allocations: 32 kB / 0.5051 GB, free: 43.09 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.8312, allocations: 68 kB / 0.5051 GB, free: 43.02 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/0.8363, allocations: 1.375 MB / 0.5065 GB, free: 41.64 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005473/0.8417, allocations: 1.299 MB / 0.5077 GB, free: 40.34 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.8551, allocations: 10.44 MB / 0.5179 GB, free: 29.73 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/0.8601, allocations: 0.7453 MB / 0.5187 GB, free: 28.98 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/0.8614, allocations: 284 kB / 0.5189 GB, free: 28.71 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.006992/0.8684, allocations: 3.419 MB / 0.5223 GB, free: 25.27 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/0.8702, allocations: 0.4937 MB / 0.5227 GB, free: 24.78 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.8828, allocations: 6.87 MB / 0.5295 GB, free: 17.88 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009628/0.8924, allocations: 5.725 MB / 0.535 GB, free: 12.14 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.149e-05/0.8925, allocations: 12 kB / 0.5351 GB, free: 12.13 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.308e-05/0.8926, allocations: 23.91 kB / 0.5351 GB, free: 12.11 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/0.9219, allocations: 13.48 MB / 0.5482 GB, free: 14.49 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.271e-05/0.9219, allocations: 12 kB / 0.5483 GB, free: 14.48 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/0.9259, allocations: 0.7995 MB / 0.549 GB, free: 13.68 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00527/0.9311, allocations: 1.274 MB / 0.5503 GB, free: 12.4 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001131/0.9323, allocations: 112 kB / 0.5504 GB, free: 12.29 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/0.9513, allocations: 10.2 MB / 0.5603 GB, free: 1.902 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-05/0.9514, allocations: 31.75 kB / 0.5604 GB, free: 1.871 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/0.9756, allocations: 10.83 MB / 0.571 GB, free: 6.809 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003294/0.9789, allocations: 0.961 MB / 0.5719 GB, free: 5.844 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/0.9803, allocations: 96.05 kB / 0.572 GB, free: 5.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003377/0.9837, allocations: 271.7 kB / 0.5722 GB, free: 5.484 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/0.9851, allocations: 366.9 kB / 0.5726 GB, free: 5.125 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009028/0.986, allocations: 148 kB / 0.5727 GB, free: 4.98 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005036/0.9911, allocations: 2.089 MB / 0.5748 GB, free: 2.887 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.9911, allocations: 0 / 0.5748 GB, free: 2.887 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00886/0.9999, allocations: 2.262 MB / 0.577 GB, free: 0.6172 MB / 410.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.001396/1.001, allocations: 290 kB / 0.5773 GB, free: 340 kB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.1468/1.148, allocations: 7.161 MB / 0.5843 GB, free: 131.3 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/1.148, allocations: 3.906 kB / 0.5843 GB, free: 131.3 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006847/1.155, allocations: 3.412 MB / 0.5876 GB, free: 130.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/1.159, allocations: 0.8171 MB / 0.5884 GB, free: 130 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/1.184, allocations: 16.36 MB / 0.6044 GB, free: 122.6 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007216/1.191, allocations: 5.473 MB / 0.6097 GB, free: 119.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005672/1.197, allocations: 2.154 MB / 0.6118 GB, free: 118.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.198, allocations: 343.9 kB / 0.6121 GB, free: 118.2 MB / 410.8 MB Notification: Performance of SimCode: time 1.873e-06/1.198, allocations: 0 / 0.6121 GB, free: 118.2 MB / 410.8 MB Notification: Performance of Templates: time 0.08505/1.283, allocations: 55.46 MB / 0.6663 GB, free: 64.02 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.6479603700572625]