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.002013/0.002013, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00244/0.00244, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001647/0.001647, allocations: 47.92 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 53.36 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.01808/0.2485, allocations: 14.32 MB / 445.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.2582, allocations: 4.544 MB / 450.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.2606, allocations: 159.2 kB / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01675/0.2774, allocations: 6.698 MB / 457.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007169/0.2845, allocations: 2.001 MB / 459.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.2891, allocations: 1.529 MB / 460.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.3021, allocations: 9.614 MB / 470.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02487/0.327, allocations: 13.58 MB / 484 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008428/0.3354, allocations: 5.397 MB / 489.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.3458, allocations: 5.977 MB / 495.4 MB, free: 6.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003764/0.3495, allocations: 1.359 MB / 496.8 MB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.3548, allocations: 1.668 MB / 498.4 MB, free: 3.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.3594, allocations: 2.802 MB / 0.4895 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009058/0.3685, allocations: 4.183 MB / 0.4936 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02333/0.3918, allocations: 18.5 MB / 0.5116 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3918, allocations: 0 / 0.5116 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3918, allocations: 0 / 0.5116 GB, free: 9.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005547/0.3924, allocations: 0 / 0.5116 GB, free: 9.961 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.03665/0.429, allocations: 12.26 MB / 0.5236 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4291, allocations: 8.031 kB / 0.5236 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03706/0.4661, allocations: 6.191 MB / 0.5297 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/0.4818, allocations: 5.923 MB / 0.5354 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007719/0.4826, allocations: 0.6742 MB / 0.5361 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3867/0.8693, allocations: 0.8775 MB / 0.537 GB, free: 89.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.8969, allocations: 14.97 MB / 0.5516 GB, free: 84.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.8971, allocations: 12.92 kB / 0.5516 GB, free: 84.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009954/0.8981, allocations: 375.8 kB / 0.5519 GB, free: 83.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003498/0.8984, allocations: 0.491 MB / 0.5524 GB, free: 83.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.9193, allocations: 13.51 MB / 0.5656 GB, free: 71.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05586/0.9752, allocations: 38.54 MB / 0.6033 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008307/0.9835, allocations: 5.98 MB / 0.6091 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/0.9868, allocations: 2.867 MB / 0.6119 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.9871, allocations: 111.9 kB / 0.612 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.9871, allocations: 77.78 kB / 0.6121 GB, free: 24.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.254e-06/0.9871, allocations: 0 / 0.6121 GB, free: 24.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01699/1.004, allocations: 9.432 MB / 0.6213 GB, free: 14.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.004, allocations: 121.1 kB / 0.6214 GB, free: 14.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/1.008, allocations: 3.234 MB / 0.6246 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002707/1.008, allocations: 89.7 kB / 0.6246 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.009, allocations: 3.821 MB / 0.6284 GB, free: 8.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008174/1.01, allocations: 1.465 MB / 0.6298 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.011, allocations: 1.148 MB / 0.6309 GB, free: 5.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.781e-05/1.011, allocations: 305.1 kB / 0.6312 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.015, allocations: 2.841 MB / 0.634 GB, free: 2.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/1.02, allocations: 4.911 MB / 0.6388 GB, free: 12.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.031, allocations: 8.271 MB / 0.6469 GB, free: 3.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-05/1.032, allocations: 20 kB / 0.6469 GB, free: 3.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01734/1.049, allocations: 9.107 MB / 0.6558 GB, free: 10.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/1.049, allocations: 35.94 kB / 0.6558 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.049, allocations: 68 kB / 0.6559 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003359/1.052, allocations: 1.142 MB / 0.657 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/1.057, allocations: 1.303 MB / 0.6583 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/1.073, allocations: 10.39 MB / 0.6684 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/1.078, allocations: 0.7453 MB / 0.6691 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/1.079, allocations: 284 kB / 0.6694 GB, free: 12.02 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.006045/1.085, allocations: 3.423 MB / 0.6728 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007812/1.086, allocations: 357.7 kB / 0.6731 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.099, allocations: 6.87 MB / 0.6798 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01033/1.109, allocations: 5.733 MB / 0.6854 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.357e-05/1.109, allocations: 15.94 kB / 0.6854 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-05/1.109, allocations: 19.92 kB / 0.6854 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02699/1.136, allocations: 13.45 MB / 0.6986 GB, free: 13.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.136, allocations: 16 kB / 0.6986 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/1.139, allocations: 0.7956 MB / 0.6994 GB, free: 13.12 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/1.143, allocations: 1.068 MB / 0.7004 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005086/1.143, allocations: 116 kB / 0.7005 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/1.159, allocations: 10.14 MB / 0.7104 GB, free: 1.594 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/1.159, allocations: 19.94 kB / 0.7104 GB, free: 1.574 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/1.176, allocations: 10.69 MB / 0.7209 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/1.179, allocations: 0.9571 MB / 0.7218 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008287/1.18, allocations: 95.98 kB / 0.7219 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.183, allocations: 271.7 kB / 0.7222 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007231/1.183, allocations: 363 kB / 0.7225 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/1.184, allocations: 152 kB / 0.7227 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003364/1.187, allocations: 2.089 MB / 0.7247 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.187, allocations: 0 / 0.7247 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00624/1.193, allocations: 2.255 MB / 0.7269 GB, free: 472 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.0007355/1.194, allocations: 298.3 kB / 0.7272 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.207, allocations: 7.169 MB / 0.7342 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/1.207, allocations: 3.938 kB / 0.7342 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006373/1.213, allocations: 3.425 MB / 0.7375 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.217, allocations: 0.7802 MB / 0.7383 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2387/1.456, allocations: 16.22 MB / 0.7541 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0053/1.461, allocations: 5.472 MB / 0.7595 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0042/1.465, allocations: 2.153 MB / 0.7616 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/1.466, allocations: 342.1 kB / 0.7619 GB, free: 178.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1.466, allocations: 0 / 0.7619 GB, free: 178.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08899/1.555, allocations: 66.87 MB / 0.8272 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 -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.891694338992238]