Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.001323/0.001323, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001373/0.001373, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2158, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003441/0.2192, allocations: 1.94 MB / 434.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2204, allocations: 0.6468 MB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.2205, allocations: 3.938 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2206, allocations: 19.8 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2207, allocations: 47.62 kB / 435 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.2209, allocations: 47.88 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2211, allocations: 155.2 kB / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2213, allocations: 24.25 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.2213, allocations: 47.86 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2214, allocations: 63.75 kB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2215, allocations: 12 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.2216, allocations: 27.94 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2216, allocations: 19.92 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.2216, allocations: 59.72 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.2219, allocations: 151.1 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2219, allocations: 0 / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2219, allocations: 0 / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2219, allocations: 0 / 435.6 MB, free: 3.5 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.0006699/0.2226, allocations: 361.7 kB / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2226, allocations: 8.031 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.2228, allocations: 28.88 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2231, allocations: 150.2 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2231, allocations: 8.375 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.2231, allocations: 12.38 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.2234, allocations: 113.6 kB / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2234, allocations: 0 / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.2234, allocations: 8 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2234, allocations: 0 / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.2237, allocations: 87.94 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008884/0.2246, allocations: 423 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.2249, allocations: 102.5 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2251, allocations: 40.88 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2251, allocations: 3.938 kB / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.2251, allocations: 42.5 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.2251, allocations: 0 / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004625/0.2256, allocations: 145.7 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2256, allocations: 51.41 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2257, allocations: 133.8 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2258, allocations: 33.58 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.2258, allocations: 128.2 kB / 437.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.2259, allocations: 27.75 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.2259, allocations: 29.7 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2261, allocations: 322.8 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2262, allocations: 31.98 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2263, allocations: 67.39 kB / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.2266, allocations: 107.3 kB / 438 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2266, allocations: 4 kB / 438 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003387/0.227, allocations: 141.5 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.227, allocations: 11.94 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.227, allocations: 3.938 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.227, allocations: 0 / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2272, allocations: 40 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2272, allocations: 4 kB / 438.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2273, allocations: 15.94 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.2273, allocations: 0 / 438.2 MB, free: 0.6641 MB / 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 (14): * Single equations (assignments): 14 * 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 9.511e-05/0.2274, allocations: 121.8 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.2274, allocations: 19.83 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.2275, allocations: 16.72 kB / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2275, allocations: 0 / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2275, allocations: 0 / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.2275, allocations: 15.89 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.2275, allocations: 7.938 kB / 438.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2277, allocations: 11.98 kB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.2277, allocations: 11.97 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004879/0.2282, allocations: 205.2 kB / 438.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000538/0.2287, allocations: 346.6 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001228/0.2288, allocations: 43.97 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.2289, allocations: 98.08 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Backend: time 2.51e-07/0.2289, allocations: 0 / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.2294, allocations: 156.8 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 0.001/0.2304, allocations: 0.8966 MB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Templates: time 0.004932/0.2354, allocations: 1.887 MB / 442 MB, free: 12.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.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.18049575099576]