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.0008307/0.0008307, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001013/0.001013, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.175e-06/2.175e-06, allocations: 0 / 273.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.82e-05, allocations: 2.312 kB / 273.4 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.0036/0.003628, allocations: 2.029 MB / 275.5 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004899, allocations: 0.6902 MB / 276.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.005003, allocations: 3.938 kB / 276.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.005141, allocations: 24.72 kB / 276.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.005249, allocations: 41.11 kB / 276.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.005531, allocations: 55.73 kB / 276.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.005739, allocations: 156 kB / 276.4 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.005862, allocations: 21.95 kB / 276.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.006001, allocations: 79.8 kB / 276.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.0061, allocations: 44.53 kB / 276.6 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.006126, allocations: 14.41 kB / 276.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.006207, allocations: 27.98 kB / 276.6 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.006237, allocations: 23.91 kB / 276.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.006287, allocations: 47.8 kB / 276.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.006506, allocations: 111.6 kB / 276.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006509, allocations: 0 / 276.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00651, allocations: 0 / 276.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006514, allocations: 4 kB / 276.8 MB, free: 1.09 MB / 250.7 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.000501/0.007015, allocations: 328.3 kB / 277.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.00705, allocations: 12.03 kB / 277.1 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.007253, allocations: 36.86 kB / 277.2 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.007426, allocations: 137.6 kB / 277.3 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.007441, allocations: 8.375 kB / 277.3 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.007468, allocations: 8.375 kB / 277.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.007636, allocations: 102.9 kB / 277.4 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.007649, allocations: 192 / 277.4 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.007667, allocations: 7.938 kB / 277.4 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007675, allocations: 7.938 kB / 277.4 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.007758, allocations: 30.77 kB / 277.5 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.0084, allocations: 342.9 kB / 277.8 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.008614, allocations: 58.56 kB / 277.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.008654, allocations: 20.84 kB / 277.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.008666, allocations: 4 kB / 277.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.008691, allocations: 30.56 kB / 277.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.008693, allocations: 0 / 277.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001699/0.008863, allocations: 74.06 kB / 278 MB, free: 15.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.008895, allocations: 51.41 kB / 278 MB, free: 15.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.008986, allocations: 144.6 kB / 278.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.009001, allocations: 29.7 kB / 278.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.009056, allocations: 108.2 kB / 278.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.009084, allocations: 35.73 kB / 278.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.009133, allocations: 37.59 kB / 278.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.009227, allocations: 322.8 kB / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.009256, allocations: 8 kB / 278.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.009306, allocations: 39.41 kB / 278.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.009389, allocations: 55.34 kB / 278.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.009392, allocations: 0 / 278.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001361/0.009528, allocations: 85.61 kB / 278.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.009543, allocations: 11.98 kB / 278.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009548, allocations: 0 / 278.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.009563, allocations: 4 kB / 278.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.009691, allocations: 27.92 kB / 278.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.009697, allocations: 7.938 kB / 278.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.009761, allocations: 11.94 kB / 278.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.00977, allocations: 4 kB / 278.9 MB, free: 14.75 MB / 266.7 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 7.932e-05/0.009849, allocations: 113.8 kB / 279.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.009883, allocations: 11.98 kB / 279.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.009916, allocations: 16.81 kB / 279.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.00992, allocations: 4 kB / 279.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.009922, allocations: 3.938 kB / 279.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.009927, allocations: 3.938 kB / 279.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.01008, allocations: 93.81 kB / 279.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01009, allocations: 0 / 279.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01023, allocations: 27.98 kB / 279.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01023, allocations: 0 / 279.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.01024, allocations: 0 / 279.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01024, allocations: 4 kB / 279.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01024, allocations: 0 / 279.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.01046, allocations: 187.5 kB / 279.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.01047, allocations: 11.89 kB / 279.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01049, allocations: 4 kB / 279.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.01058, allocations: 11.98 kB / 279.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.01062, allocations: 7.984 kB / 279.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.01062, allocations: 0 / 279.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.01066, allocations: 26.86 kB / 279.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01066, allocations: 0 / 279.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01091, allocations: 31.95 kB / 279.5 MB, free: 14.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001038/0.01101, allocations: 88.3 kB / 279.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01113, allocations: 56.66 kB / 279.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.01113, allocations: 0 / 279.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.01118, allocations: 24.84 kB / 279.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01142, allocations: 15.98 kB / 279.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.01231, allocations: 352.5 kB / 280 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01237, allocations: 71.2 kB / 280.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.01242, allocations: 8.5 kB / 280.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.01252, allocations: 75.3 kB / 280.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01252, allocations: 0 / 280.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.004161/0.01668, allocations: 1.255 MB / 281.4 MB, free: 12.2 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.578953634016216]