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.001428/0.001428, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001736/0.001736, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.00194/0.00194, allocations: 71.83 kB / 378.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2506, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01836/0.2689, allocations: 16.71 MB / 448.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.2794, allocations: 4.723 MB / 453.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.2823, allocations: 135.6 kB / 453.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01628/0.2986, allocations: 7.238 MB / 460.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006571/0.3052, allocations: 1.97 MB / 462.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.3094, allocations: 1.55 MB / 464.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.3217, allocations: 9.523 MB / 473.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02544/0.3472, allocations: 12.84 MB / 486.8 MB, free: 424 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008632/0.3558, allocations: 5.272 MB / 492 MB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.3658, allocations: 5.977 MB / 498 MB, free: 5.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003946/0.3698, allocations: 1.359 MB / 499.4 MB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005721/0.3755, allocations: 1.667 MB / 0.4893 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00499/0.3805, allocations: 2.806 MB / 0.492 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01034/0.3908, allocations: 5.35 MB / 0.4972 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02414/0.415, allocations: 18.41 MB / 0.5152 GB, free: 7.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.415, allocations: 0 / 0.5152 GB, free: 7.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.415, allocations: 0 / 0.5152 GB, free: 7.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005381/0.4155, allocations: 0 / 0.5152 GB, free: 7.449 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.0372/0.4527, allocations: 12.32 MB / 0.5273 GB, free: 11.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4528, allocations: 12.03 kB / 0.5273 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03544/0.4882, allocations: 6.195 MB / 0.5333 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4243/0.9125, allocations: 5.838 MB / 0.539 GB, free: 86.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/0.9136, allocations: 0.6738 MB / 0.5397 GB, free: 86.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004717/0.9183, allocations: 0.8809 MB / 0.5405 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03522/0.9535, allocations: 14.74 MB / 0.5549 GB, free: 80.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004057/0.9539, allocations: 9.828 kB / 0.555 GB, free: 80.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/0.9571, allocations: 374.2 kB / 0.5553 GB, free: 80.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004932/0.9576, allocations: 499.2 kB / 0.5558 GB, free: 80.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.9828, allocations: 13.56 MB / 0.569 GB, free: 70.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07246/1.055, allocations: 44.7 MB / 0.6127 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.066, allocations: 11.27 MB / 0.6237 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/1.07, allocations: 2.866 MB / 0.6265 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/1.07, allocations: 285.5 kB / 0.6268 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/1.07, allocations: 86.48 kB / 0.6268 GB, free: 9.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.194e-06/1.07, allocations: 0 / 0.6268 GB, free: 9.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02029/1.09, allocations: 9.584 MB / 0.6362 GB, free: 15.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.09, allocations: 121.1 kB / 0.6363 GB, free: 15.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006234/1.097, allocations: 3.156 MB / 0.6394 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007937/1.098, allocations: 89.7 kB / 0.6395 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.101, allocations: 3.835 MB / 0.6432 GB, free: 9.023 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002195/1.103, allocations: 1.462 MB / 0.6447 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003542/1.107, allocations: 1.148 MB / 0.6458 GB, free: 6.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/1.107, allocations: 303.6 kB / 0.6461 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005305/1.112, allocations: 2.841 MB / 0.6488 GB, free: 3.277 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007443/1.119, allocations: 4.908 MB / 0.6536 GB, free: 13.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/1.132, allocations: 8.278 MB / 0.6617 GB, free: 4.211 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.593e-05/1.132, allocations: 20 kB / 0.6617 GB, free: 4.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01933/1.152, allocations: 9.113 MB / 0.6706 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/1.152, allocations: 32 kB / 0.6707 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.152, allocations: 68 kB / 0.6707 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/1.156, allocations: 1.149 MB / 0.6719 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005346/1.161, allocations: 1.299 MB / 0.6731 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/1.178, allocations: 10.82 MB / 0.6837 GB, free: 13.42 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/1.183, allocations: 0.7453 MB / 0.6844 GB, free: 12.67 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.184, allocations: 280 kB / 0.6847 GB, free: 12.4 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.008108/1.192, allocations: 3.427 MB / 0.688 GB, free: 8.957 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.194, allocations: 365.7 kB / 0.6884 GB, free: 8.598 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/1.208, allocations: 6.87 MB / 0.6951 GB, free: 1.699 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01172/1.22, allocations: 5.725 MB / 0.7007 GB, free: 11.96 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-05/1.22, allocations: 12 kB / 0.7007 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-05/1.22, allocations: 19.92 kB / 0.7007 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03334/1.253, allocations: 15.25 MB / 0.7156 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/1.253, allocations: 15.98 kB / 0.7156 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/1.256, allocations: 0.7957 MB / 0.7164 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/1.26, allocations: 1.056 MB / 0.7174 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005365/1.26, allocations: 116 kB / 0.7175 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/1.276, allocations: 10.58 MB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/1.276, allocations: 27.81 kB / 0.7279 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/1.296, allocations: 10.69 MB / 0.7383 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003282/1.3, allocations: 1.013 MB / 0.7393 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.301, allocations: 95.98 kB / 0.7394 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.304, allocations: 271.7 kB / 0.7397 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/1.305, allocations: 343.2 kB / 0.74 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004633/1.305, allocations: 152 kB / 0.7401 GB, free: 2.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004365/1.31, allocations: 2.125 MB / 0.7422 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.31, allocations: 0 / 0.7422 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.2442/1.554, allocations: 2.255 MB / 0.7444 GB, free: 178.3 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.001271/1.555, allocations: 281.4 kB / 0.7447 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.567, allocations: 7.163 MB / 0.7517 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/1.567, allocations: 0 / 0.7517 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005378/1.572, allocations: 3.429 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.003834/1.576, allocations: 0.7944 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.0251/1.601, allocations: 15.99 MB / 0.7714 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006149/1.607, allocations: 5.763 MB / 0.7771 GB, free: 166.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/1.61, allocations: 395.4 kB / 0.7774 GB, free: 166.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/1.61, allocations: 0 / 0.7774 GB, free: 166.6 MB / 0.545 GB Notification: Performance of Templates: time 0.4329/2.042, allocations: 197.1 MB / 0.9699 GB, free: 183.4 MB / 0.5607 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 -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: 15.784891079645604]