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.001541/0.001541, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001813/0.001813, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.188/2.188, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001908/0.001908, allocations: 47.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02323/0.3262, allocations: 14.31 MB / 446.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.3387, allocations: 4.552 MB / 451.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.3422, allocations: 163.2 kB / 451.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01988/0.3621, allocations: 6.692 MB / 458.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008919/0.371, allocations: 2.013 MB / 460.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005294/0.3763, allocations: 1.521 MB / 461.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01586/0.3922, allocations: 9.614 MB / 471.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02984/0.422, allocations: 13.58 MB / 484.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009978/0.432, allocations: 5.393 MB / 490.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.4443, allocations: 5.981 MB / 496.2 MB, free: 6.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004473/0.4488, allocations: 1.359 MB / 497.5 MB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006851/0.4556, allocations: 1.66 MB / 499.2 MB, free: 3.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006156/0.4618, allocations: 2.806 MB / 0.4902 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.4724, allocations: 4.191 MB / 0.4943 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/0.5015, allocations: 18.48 MB / 0.5124 GB, free: 9.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5015, allocations: 0 / 0.5124 GB, free: 9.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.5015, allocations: 4 kB / 0.5124 GB, free: 9.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000486/0.502, allocations: 4 kB / 0.5124 GB, free: 9.98 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.07501/0.577, allocations: 12.25 MB / 0.5243 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.726e-05/0.5771, allocations: 12.03 kB / 0.5244 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05177/0.6289, allocations: 6.195 MB / 0.5304 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.6479, allocations: 5.925 MB / 0.5362 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/0.6489, allocations: 0.6665 MB / 0.5368 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7194/1.368, allocations: 0.8727 MB / 0.5377 GB, free: 89.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06328/1.432, allocations: 14.98 MB / 0.5523 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004791/1.432, allocations: 10.03 kB / 0.5523 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003425/1.435, allocations: 372.5 kB / 0.5527 GB, free: 84.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006326/1.436, allocations: 0.4911 MB / 0.5532 GB, free: 83.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03311/1.469, allocations: 13.5 MB / 0.5663 GB, free: 71.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08805/1.557, allocations: 38.55 MB / 0.604 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/1.569, allocations: 5.97 MB / 0.6098 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005065/1.574, allocations: 2.866 MB / 0.6126 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/1.575, allocations: 111.9 kB / 0.6127 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.112e-05/1.575, allocations: 78.56 kB / 0.6128 GB, free: 24.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 1.34e-05/1.575, allocations: 2.438 kB / 0.6128 GB, free: 24.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02471/1.599, allocations: 9.429 MB / 0.622 GB, free: 14.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/1.599, allocations: 121.1 kB / 0.6221 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/1.605, allocations: 3.233 MB / 0.6253 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005734/1.605, allocations: 93.7 kB / 0.6254 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002952/1.608, allocations: 3.826 MB / 0.6291 GB, free: 8.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.61, allocations: 1.47 MB / 0.6305 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/1.612, allocations: 1.144 MB / 0.6317 GB, free: 5.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.85e-05/1.612, allocations: 305.1 kB / 0.632 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004933/1.617, allocations: 2.845 MB / 0.6347 GB, free: 2.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007257/1.624, allocations: 4.904 MB / 0.6395 GB, free: 12.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.641, allocations: 8.275 MB / 0.6476 GB, free: 3.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.7e-05/1.641, allocations: 24 kB / 0.6476 GB, free: 3.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02851/1.669, allocations: 9.103 MB / 0.6565 GB, free: 10.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/1.669, allocations: 39.94 kB / 0.6566 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/1.67, allocations: 68 kB / 0.6566 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006146/1.676, allocations: 1.146 MB / 0.6577 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/1.686, allocations: 1.303 MB / 0.659 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02882/1.715, allocations: 10.39 MB / 0.6692 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008205/1.723, allocations: 0.7416 MB / 0.6699 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.724, allocations: 280 kB / 0.6701 GB, free: 12.03 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.009366/1.734, allocations: 3.427 MB / 0.6735 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.735, allocations: 357.7 kB / 0.6738 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.752, allocations: 6.878 MB / 0.6806 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01313/1.765, allocations: 5.724 MB / 0.6861 GB, free: 11.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/1.765, allocations: 11.94 kB / 0.6862 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.603e-05/1.765, allocations: 27.91 kB / 0.6862 GB, free: 11.56 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03216/1.797, allocations: 13.46 MB / 0.6993 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.544e-05/1.797, allocations: 12 kB / 0.6993 GB, free: 13.93 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00438/1.802, allocations: 0.7957 MB / 0.7001 GB, free: 13.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/1.806, allocations: 1.064 MB / 0.7011 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006452/1.807, allocations: 116 kB / 0.7013 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/1.826, allocations: 10.14 MB / 0.7112 GB, free: 1.609 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/1.826, allocations: 16.19 kB / 0.7112 GB, free: 1.594 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/1.849, allocations: 10.7 MB / 0.7216 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003485/1.852, allocations: 0.9571 MB / 0.7226 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008631/1.853, allocations: 100.1 kB / 0.7226 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.856, allocations: 275.6 kB / 0.7229 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008691/1.857, allocations: 359 kB / 0.7233 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003911/1.857, allocations: 144 kB / 0.7234 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004096/1.861, allocations: 2.096 MB / 0.7254 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.861, allocations: 0 / 0.7254 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009031/1.87, allocations: 2.266 MB / 0.7277 GB, free: 468 kB / 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.001148/1.871, allocations: 286.2 kB / 0.7279 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.888, allocations: 7.174 MB / 0.7349 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.711e-05/1.888, allocations: 4 kB / 0.7349 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008452/1.896, allocations: 3.416 MB / 0.7383 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/1.902, allocations: 0.7866 MB / 0.739 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2893/2.191, allocations: 16.22 MB / 0.7549 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007175/2.198, allocations: 5.469 MB / 0.7602 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006059/2.204, allocations: 2.154 MB / 0.7623 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/2.206, allocations: 342.8 kB / 0.7626 GB, free: 178.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/2.206, allocations: 0 / 0.7626 GB, free: 178.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1234/2.329, allocations: 66.86 MB / 0.8279 GB, free: 119.9 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 11.45168195599399]