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.001745/0.001745, allocations: 92.31 kB / 20.96 MB, free: 3.48 MB / 18.57 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.001485/0.001485, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 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.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 2.154e-06/2.154e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.231e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.03776/0.03779, allocations: 14.33 MB / 286.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1424/0.1802, allocations: 4.583 MB / 291.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.1839, allocations: 158.2 kB / 291.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01629/0.2002, allocations: 7.082 MB / 298.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007753/0.2079, allocations: 2.026 MB / 300.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.2124, allocations: 1.512 MB / 302 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01203/0.2244, allocations: 9.913 MB / 311.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02516/0.2496, allocations: 13.5 MB / 325.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01845/0.268, allocations: 7.75 MB / 333.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.2804, allocations: 5.257 MB / 338.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005164/0.2856, allocations: 1.363 MB / 339.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007885/0.2934, allocations: 1.663 MB / 341.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006455/0.2999, allocations: 2.853 MB / 344.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.3106, allocations: 3.598 MB / 347.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02802/0.3386, allocations: 18.67 MB / 366.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3386, allocations: 0 / 366.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3386, allocations: 0 / 366.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005146/0.3392, allocations: 0 / 366.6 MB, free: 3.566 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.03961/0.3788, allocations: 12.16 MB / 378.7 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3788, allocations: 12.03 kB / 378.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03925/0.4181, allocations: 7.619 MB / 386.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.4343, allocations: 6.158 MB / 392.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.4353, allocations: 0.6743 MB / 393.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004005/0.4393, allocations: 0.8749 MB / 394.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04329/0.4826, allocations: 14.97 MB / 409.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/0.4829, allocations: 7.953 kB / 409.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002726/0.4856, allocations: 376 kB / 409.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006677/0.4863, allocations: 0.4953 MB / 409.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03111/0.5174, allocations: 13.5 MB / 423.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2998/0.8172, allocations: 39.65 MB / 463.1 MB, free: 90.65 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008447/0.8256, allocations: 5.981 MB / 469.1 MB, free: 88.11 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/0.829, allocations: 2.869 MB / 471.9 MB, free: 86.64 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.8293, allocations: 141.8 kB / 472.1 MB, free: 86.6 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.8294, allocations: 77.81 kB / 472.1 MB, free: 86.53 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 7.454e-06/0.8294, allocations: 0 / 472.1 MB, free: 86.53 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.01796/0.8474, allocations: 9.577 MB / 481.7 MB, free: 79.84 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.8474, allocations: 121.1 kB / 481.8 MB, free: 79.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/0.8516, allocations: 3.229 MB / 485.1 MB, free: 76.54 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/0.8519, allocations: 97.7 kB / 485.2 MB, free: 76.44 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.8533, allocations: 3.811 MB / 489 MB, free: 73.25 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008766/0.8542, allocations: 1.436 MB / 490.4 MB, free: 72 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.8556, allocations: 1.136 MB / 491.6 MB, free: 70.85 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.8556, allocations: 301.1 kB / 491.8 MB, free: 70.55 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/0.8588, allocations: 2.841 MB / 494.7 MB, free: 67.71 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00382/0.8626, allocations: 4.908 MB / 499.6 MB, free: 61.86 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007671/0.8703, allocations: 8.278 MB / 0.496 GB, free: 52.64 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.116e-05/0.8704, allocations: 20 kB / 0.496 GB, free: 52.62 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0129/0.8833, allocations: 9.389 MB / 0.5052 GB, free: 43.22 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.8833, allocations: 36 kB / 0.5052 GB, free: 43.18 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.403e-05/0.8834, allocations: 64 kB / 0.5053 GB, free: 43.12 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003878/0.8873, allocations: 1.37 MB / 0.5066 GB, free: 41.75 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.8917, allocations: 1.299 MB / 0.5079 GB, free: 40.45 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.9037, allocations: 10.45 MB / 0.5181 GB, free: 29.82 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.9079, allocations: 0.7375 MB / 0.5188 GB, free: 29.08 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007904/0.9087, allocations: 288.2 kB / 0.5191 GB, free: 28.8 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.004594/0.9133, allocations: 3.423 MB / 0.5224 GB, free: 25.36 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009001/0.9142, allocations: 493.7 kB / 0.5229 GB, free: 24.88 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009961/0.9242, allocations: 6.878 MB / 0.5296 GB, free: 17.97 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00737/0.9315, allocations: 5.733 MB / 0.5352 GB, free: 12.23 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/0.9316, allocations: 12 kB / 0.5352 GB, free: 12.21 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/0.9316, allocations: 19.92 kB / 0.5352 GB, free: 12.2 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/0.9514, allocations: 13.48 MB / 0.5484 GB, free: 14.58 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.9514, allocations: 12 kB / 0.5484 GB, free: 14.57 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/0.9547, allocations: 0.7996 MB / 0.5492 GB, free: 13.77 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004419/0.9591, allocations: 1.266 MB / 0.5504 GB, free: 12.49 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003483/0.9594, allocations: 112 kB / 0.5505 GB, free: 12.38 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.9766, allocations: 10.22 MB / 0.5605 GB, free: 1.98 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.387e-05/0.9766, allocations: 23.88 kB / 0.5605 GB, free: 1.957 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/0.9973, allocations: 10.83 MB / 0.5711 GB, free: 6.895 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00327/1.001, allocations: 0.9649 MB / 0.572 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006839/1.001, allocations: 96.23 kB / 0.5721 GB, free: 5.832 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.003, allocations: 271.8 kB / 0.5724 GB, free: 5.566 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/1.004, allocations: 367 kB / 0.5727 GB, free: 5.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/1.005, allocations: 151.9 kB / 0.5729 GB, free: 5.059 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00362/1.008, allocations: 2.089 MB / 0.5749 GB, free: 2.965 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.3e-07/1.008, allocations: 0 / 0.5749 GB, free: 2.965 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007773/1.016, allocations: 2.254 MB / 0.5771 GB, free: 0.7031 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.0008472/1.017, allocations: 298 kB / 0.5774 GB, free: 420 kB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.1339/1.151, allocations: 7.16 MB / 0.5844 GB, free: 131.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/1.151, allocations: 3.469 kB / 0.5844 GB, free: 131.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006389/1.157, allocations: 3.41 MB / 0.5877 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.006132/1.163, allocations: 0.8093 MB / 0.5885 GB, free: 129.9 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/1.194, allocations: 16.37 MB / 0.6045 GB, free: 122.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006887/1.2, allocations: 5.473 MB / 0.6099 GB, free: 119.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.007213/1.208, allocations: 2.149 MB / 0.612 GB, free: 118.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.209, allocations: 346.7 kB / 0.6123 GB, free: 118.2 MB / 410.8 MB Notification: Performance of SimCode: time 9.52e-07/1.209, allocations: 0 / 0.6123 GB, free: 118.2 MB / 410.8 MB Notification: Performance of Templates: time 0.08732/1.296, allocations: 55.46 MB / 0.6664 GB, free: 64.17 MB / 410.8 MB " [Timeout remaining time 659] 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.694519988959655]