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.001507/0.001507, allocations: 114.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.001597/0.001597, allocations: 210.3 kB / 24.48 MB, free: 4.035 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.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001989/0.001989, allocations: 72.05 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2085, 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.01898/0.2275, allocations: 16.71 MB / 448.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009007/0.2365, allocations: 4.723 MB / 453.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.2384, allocations: 135.6 kB / 453.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01521/0.2536, allocations: 7.238 MB / 460.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.2581, allocations: 1.962 MB / 462.8 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.2613, allocations: 1.558 MB / 464.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.2714, allocations: 9.52 MB / 473.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.2894, allocations: 12.85 MB / 486.8 MB, free: 432 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.2953, allocations: 5.272 MB / 492 MB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007283/0.3026, allocations: 5.977 MB / 498 MB, free: 5.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.3043, allocations: 1.359 MB / 499.4 MB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.3068, allocations: 1.664 MB / 0.4893 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.3093, allocations: 2.802 MB / 0.492 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005134/0.3144, allocations: 5.358 MB / 0.4973 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.3317, allocations: 18.41 MB / 0.5152 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3317, allocations: 0 / 0.5152 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3317, allocations: 0 / 0.5152 GB, free: 7.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002087/0.3319, 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.02903/0.3609, allocations: 12.33 MB / 0.5273 GB, free: 11.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.361, allocations: 12.03 kB / 0.5273 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03548/0.3964, allocations: 6.195 MB / 0.5333 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3088/0.7052, allocations: 5.836 MB / 0.539 GB, free: 86.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000495/0.7057, allocations: 0.6702 MB / 0.5397 GB, free: 86.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/0.708, allocations: 0.8835 MB / 0.5406 GB, free: 86.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.7271, allocations: 14.74 MB / 0.5549 GB, free: 80.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/0.7273, allocations: 6.547 kB / 0.555 GB, free: 80.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008441/0.7281, allocations: 374.5 kB / 0.5553 GB, free: 80.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.7285, allocations: 0.4897 MB / 0.5558 GB, free: 80.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.7445, allocations: 13.56 MB / 0.569 GB, free: 70.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.7895, allocations: 44.7 MB / 0.6127 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008702/0.7982, allocations: 11.27 MB / 0.6237 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.8014, allocations: 2.866 MB / 0.6265 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.8017, allocations: 287.3 kB / 0.6268 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.8017, allocations: 82.5 kB / 0.6268 GB, free: 9.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.971e-06/0.8017, allocations: 4 kB / 0.6268 GB, free: 9.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01725/0.819, allocations: 9.58 MB / 0.6362 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.819, allocations: 121 kB / 0.6363 GB, free: 15.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.8234, allocations: 3.16 MB / 0.6394 GB, free: 12.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.8236, allocations: 89.7 kB / 0.6395 GB, free: 12.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/0.8262, allocations: 3.834 MB / 0.6432 GB, free: 9.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.8275, allocations: 1.462 MB / 0.6447 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/0.8293, allocations: 1.144 MB / 0.6458 GB, free: 6.469 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8294, allocations: 307.6 kB / 0.6461 GB, free: 6.168 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004488/0.8339, allocations: 2.841 MB / 0.6488 GB, free: 3.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/0.8401, allocations: 4.904 MB / 0.6536 GB, free: 13.47 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.8512, allocations: 8.278 MB / 0.6617 GB, free: 4.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.088e-05/0.8512, allocations: 20 kB / 0.6617 GB, free: 4.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01516/0.8664, allocations: 9.113 MB / 0.6706 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.8664, allocations: 36 kB / 0.6707 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.754e-05/0.8665, allocations: 64 kB / 0.6707 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.8698, allocations: 1.153 MB / 0.6719 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/0.8742, allocations: 1.299 MB / 0.6731 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.8902, allocations: 10.82 MB / 0.6837 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/0.8936, allocations: 0.7491 MB / 0.6844 GB, free: 12.71 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/0.894, allocations: 284 kB / 0.6847 GB, free: 12.44 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.005082/0.8991, allocations: 3.427 MB / 0.688 GB, free: 8.996 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/0.8997, allocations: 361.7 kB / 0.6884 GB, free: 8.641 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.912, allocations: 6.87 MB / 0.6951 GB, free: 1.742 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-05/0.912, allocations: 19.92 kB / 0.6951 GB, free: 1.723 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.912, allocations: 7.922 kB / 0.6951 GB, free: 1.715 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/0.9141, allocations: 0.97 MB / 0.6961 GB, free: 0.7227 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/0.9145, allocations: 68 kB / 0.6961 GB, free: 0.6562 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.9164, allocations: 251.7 kB / 0.6964 GB, free: 420 kB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/0.917, allocations: 311.5 kB / 0.6967 GB, free: 108 kB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01211/0.9291, allocations: 6.637 MB / 0.7032 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01172/0.9408, allocations: 8.192 MB / 0.7112 GB, free: 1.211 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00331/0.9441, allocations: 2.385 MB / 0.7135 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002982/0.9471, allocations: 2.129 MB / 0.7156 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of Backend: time 1.91e-07/0.9471, allocations: 0 / 0.7156 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00965/0.9567, allocations: 5.108 MB / 0.7206 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02269/0.9794, allocations: 14.91 MB / 0.7351 GB, free: 8.559 MB / 0.545 GB Notification: Performance of Templates: time 0.2597/1.239, allocations: 75.38 MB / 0.8087 GB, free: 138.4 MB / 0.545 GB " [Timeout remaining time 659] 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: 7.103104441892356]