Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001801/0.001801, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002602/0.002602, allocations: 205.6 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.512/1.512, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02168/0.3112, allocations: 16.71 MB / 448.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3254, allocations: 4.723 MB / 453.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.3309, allocations: 135.6 kB / 453.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01742/0.3483, allocations: 7.238 MB / 460.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007706/0.356, allocations: 1.962 MB / 462.8 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.3607, allocations: 1.561 MB / 464.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3742, allocations: 9.524 MB / 473.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02278/0.397, allocations: 12.85 MB / 486.8 MB, free: 424 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008394/0.4054, allocations: 5.276 MB / 492 MB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.4162, allocations: 5.973 MB / 498 MB, free: 5.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004486/0.4207, allocations: 1.359 MB / 499.4 MB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.4271, allocations: 1.668 MB / 0.4893 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005272/0.4324, allocations: 2.794 MB / 0.492 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.4429, allocations: 5.354 MB / 0.4972 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0281/0.471, allocations: 18.41 MB / 0.5152 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.471, allocations: 0 / 0.5152 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.471, allocations: 0 / 0.5152 GB, free: 7.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007034/0.4717, allocations: 0 / 0.5152 GB, free: 7.461 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.04316/0.5149, allocations: 12.33 MB / 0.5273 GB, free: 11.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.515, allocations: 8.031 kB / 0.5273 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03759/0.5525, allocations: 6.199 MB / 0.5333 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5441/1.097, allocations: 5.843 MB / 0.539 GB, free: 86.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.098, allocations: 0.6679 MB / 0.5397 GB, free: 86.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004404/1.102, allocations: 0.8823 MB / 0.5405 GB, free: 86.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/1.142, allocations: 14.75 MB / 0.5549 GB, free: 80.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003286/1.142, allocations: 10.52 kB / 0.5549 GB, free: 80.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003138/1.145, allocations: 374.8 kB / 0.5553 GB, free: 80.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006729/1.146, allocations: 0.4941 MB / 0.5558 GB, free: 80.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/1.173, allocations: 13.56 MB / 0.569 GB, free: 70.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07356/1.246, allocations: 44.69 MB / 0.6127 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009846/1.256, allocations: 11.27 MB / 0.6237 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003793/1.26, allocations: 2.87 MB / 0.6265 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/1.26, allocations: 288.5 kB / 0.6268 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/1.26, allocations: 82.56 kB / 0.6268 GB, free: 9.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.911e-06/1.26, allocations: 0 / 0.6268 GB, free: 9.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01882/1.279, allocations: 9.585 MB / 0.6362 GB, free: 15.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.279, allocations: 121.1 kB / 0.6363 GB, free: 15.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/1.285, allocations: 3.156 MB / 0.6394 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000892/1.286, allocations: 89.7 kB / 0.6395 GB, free: 12.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003445/1.29, allocations: 3.834 MB / 0.6432 GB, free: 9.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002502/1.292, allocations: 1.462 MB / 0.6447 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002402/1.294, allocations: 1.144 MB / 0.6458 GB, free: 6.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/1.295, allocations: 303.6 kB / 0.6461 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005046/1.3, allocations: 2.841 MB / 0.6488 GB, free: 3.316 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007329/1.307, allocations: 4.904 MB / 0.6536 GB, free: 13.47 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/1.32, allocations: 8.278 MB / 0.6617 GB, free: 4.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-05/1.32, allocations: 16 kB / 0.6617 GB, free: 4.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01919/1.339, allocations: 9.121 MB / 0.6706 GB, free: 11.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/1.339, allocations: 32 kB / 0.6707 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/1.34, allocations: 68 kB / 0.6707 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/1.343, allocations: 1.145 MB / 0.6718 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005693/1.349, allocations: 1.295 MB / 0.6731 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.367, allocations: 10.83 MB / 0.6837 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00581/1.373, allocations: 0.7453 MB / 0.6844 GB, free: 12.71 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/1.375, allocations: 287.9 kB / 0.6847 GB, free: 12.43 MB / 0.4982 GB 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.008893/1.384, allocations: 3.431 MB / 0.688 GB, free: 8.988 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.385, allocations: 361.7 kB / 0.6884 GB, free: 8.633 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/1.401, allocations: 6.87 MB / 0.6951 GB, free: 1.734 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/1.412, allocations: 5.725 MB / 0.7007 GB, free: 12 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.923e-05/1.412, allocations: 12 kB / 0.7007 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-05/1.412, allocations: 19.92 kB / 0.7007 GB, free: 11.96 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03294/1.445, allocations: 15.25 MB / 0.7156 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/1.445, allocations: 12 kB / 0.7156 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/1.448, allocations: 0.7918 MB / 0.7164 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.452, allocations: 1.064 MB / 0.7174 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006163/1.452, allocations: 120 kB / 0.7175 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/1.469, allocations: 10.59 MB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/1.469, allocations: 15.94 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/1.488, allocations: 10.69 MB / 0.7383 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003018/1.491, allocations: 1.013 MB / 0.7393 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.493, allocations: 95.98 kB / 0.7394 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.495, allocations: 271.8 kB / 0.7397 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009384/1.496, allocations: 347.2 kB / 0.74 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004747/1.497, allocations: 144 kB / 0.7401 GB, free: 2.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004226/1.501, allocations: 2.121 MB / 0.7422 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.501, allocations: 0 / 0.7422 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.2678/1.769, allocations: 2.257 MB / 0.7444 GB, free: 178.2 MB / 0.545 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.001408/1.77, allocations: 284.1 kB / 0.7447 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.783, allocations: 7.162 MB / 0.7517 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/1.783, allocations: 7.875 kB / 0.7517 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/1.789, allocations: 3.423 MB / 0.755 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/1.794, allocations: 0.8017 MB / 0.7558 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.82, allocations: 16.24 MB / 0.7717 GB, free: 168.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006549/1.826, allocations: 5.93 MB / 0.7775 GB, free: 166.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004979/1.831, allocations: 2.164 MB / 0.7796 GB, free: 166 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.832, allocations: 338.1 kB / 0.7799 GB, free: 165.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/1.832, allocations: 0 / 0.7799 GB, free: 165.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09332/1.925, allocations: 61.58 MB / 0.84 GB, free: 107.5 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.355975568294525]