Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001847/0.001847, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002221/0.002221, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.467/1.467, 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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [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.001979/0.001979, allocations: 71.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2159, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003233/0.2192, allocations: 2.038 MB / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2202, allocations: 0.6935 MB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.2203, allocations: 0 / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.2205, allocations: 23.8 kB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.2205, allocations: 39.62 kB / 434.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.2208, allocations: 55.8 kB / 434.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.221, allocations: 155.2 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2211, allocations: 25.05 kB / 435.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.2212, allocations: 51.8 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2213, allocations: 67.69 kB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2213, allocations: 12 kB / 435.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.2214, allocations: 27.98 kB / 435.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.2214, allocations: 15.92 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.2215, allocations: 67.67 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.2217, allocations: 153 kB / 435.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2217, allocations: 0 / 435.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2217, allocations: 4 kB / 435.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2218, allocations: 0 / 435.5 MB, free: 3.965 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007547/0.2225, allocations: 446.8 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2225, allocations: 11.97 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.2227, allocations: 28.83 kB / 435.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.223, allocations: 200.2 kB / 436.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.223, allocations: 8.312 kB / 436.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.2231, allocations: 16.36 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.2234, allocations: 117.5 kB / 436.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.2234, allocations: 7.938 kB / 436.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2234, allocations: 4 kB / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2234, allocations: 0 / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.2237, allocations: 99.88 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008598/0.2246, allocations: 487.4 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.2249, allocations: 122.6 kB / 437 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2251, allocations: 44.83 kB / 437 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.2251, allocations: 4 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2251, allocations: 34.5 kB / 437.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2251, allocations: 0 / 437.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.2262, allocations: 486.1 kB / 437.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2262, allocations: 55.41 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2264, allocations: 133.1 kB / 437.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2264, allocations: 29.7 kB / 437.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.2265, allocations: 116.2 kB / 437.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.2265, allocations: 47.58 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.2266, allocations: 41.66 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2267, allocations: 318.8 kB / 438.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2269, allocations: 43.97 kB / 438.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.227, allocations: 79.31 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.2273, allocations: 123.3 kB / 438.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2273, allocations: 0 / 438.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003695/0.2277, allocations: 172.4 kB / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2277, allocations: 7.938 kB / 438.7 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2277, allocations: 4 kB / 438.7 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2277, allocations: 4.062 kB / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2279, allocations: 35.97 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2279, allocations: 4 kB / 438.7 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.228, allocations: 11.98 kB / 438.7 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2281, allocations: 4 kB / 438.7 MB, free: 400 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.2282, allocations: 125.8 kB / 438.9 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.2282, allocations: 11.89 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.2282, allocations: 20.84 kB / 438.9 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2282, allocations: 4 kB / 438.9 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2283, allocations: 7.922 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.2283, allocations: 85.02 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.2283, allocations: 8 kB / 439 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2285, allocations: 4 kB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.2285, allocations: 11.98 kB / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005431/0.229, allocations: 232.8 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000584/0.2296, allocations: 374.6 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000144/0.2298, allocations: 52 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.2299, allocations: 103.3 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.2299, allocations: 4 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.2304, allocations: 158.2 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of SimCode: time 0.001036/0.2314, allocations: 0.9062 MB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Templates: time 0.0052/0.2366, allocations: 1.846 MB / 442.7 MB, free: 12.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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: 4.165248718112707]