Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.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.0009817/0.0009817, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009981/0.0009981, allocations: 174.4 kB / 24.92 MB, free: 8.266 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.9737/0.9737, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.785e-05, allocations: 7.188 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.00289/0.002908, allocations: 2.834 MB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004083, allocations: 1.012 MB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.004195, allocations: 7.938 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.00433, allocations: 59.39 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004466, allocations: 115 kB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.004774, allocations: 155.4 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.005043, allocations: 390.6 kB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.005168, allocations: 68.09 kB / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.005323, allocations: 215.5 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005452, allocations: 107.7 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.005481, allocations: 24 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.005574, allocations: 51.97 kB / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.005613, allocations: 71.67 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.005685, allocations: 107.8 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.005918, allocations: 271 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00592, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005921, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005925, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000626/0.006551, allocations: 0.5166 MB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.00658, allocations: 12.03 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.006771, allocations: 72.88 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006967, allocations: 198.1 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.006985, allocations: 29.03 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.00702, allocations: 32.33 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.007223, allocations: 234.8 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.007243, allocations: 16.11 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.007259, allocations: 19.94 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.007268, allocations: 11.94 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.007378, allocations: 80.88 kB / 329.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.008265, allocations: 1.044 MB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.008457, allocations: 180.8 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.008501, allocations: 52.22 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.008515, allocations: 4 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.008535, allocations: 38.56 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.183e-06/0.008537, allocations: 0 / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002284/0.008765, allocations: 146.1 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.00882, allocations: 166.2 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.008934, allocations: 203.5 kB / 331.7 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.008947, allocations: 29.7 kB / 331.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.009013, allocations: 188.3 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.009058, allocations: 95.19 kB / 332 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.009114, allocations: 65.67 kB / 332.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.009191, allocations: 338.7 kB / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.009224, allocations: 27.98 kB / 332.4 MB, free: 172 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.009344, allocations: 177.9 kB / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.009508, allocations: 237.7 kB / 332.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.009511, allocations: 0 / 332.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002038/0.009715, allocations: 217.5 kB / 333.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.009728, allocations: 8 kB / 333.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009735, allocations: 4 kB / 333.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.009748, allocations: 8 kB / 333.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.00995, allocations: 115.8 kB / 333.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.009956, allocations: 8 kB / 333.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.01004, allocations: 35.73 kB / 333.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01005, allocations: 12 kB / 333.2 MB, free: 15.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.78e-05/0.01013, allocations: 141.9 kB / 333.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.0102, allocations: 15.98 kB / 333.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.01029, allocations: 79.08 kB / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.0103, allocations: 7.938 kB / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.0103, allocations: 4 kB / 333.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0103, allocations: 3.938 kB / 333.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.01058, allocations: 157.7 kB / 333.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01058, allocations: 0 / 333.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.01077, allocations: 79.95 kB / 333.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01078, allocations: 4 kB / 333.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01079, allocations: 11.98 kB / 333.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.01079, allocations: 8.125 kB / 333.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.0108, allocations: 4 kB / 333.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.01105, allocations: 0.5494 MB / 334.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.01107, allocations: 27.78 kB / 334.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.0111, allocations: 4 kB / 334.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.01123, allocations: 15.88 kB / 334.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.01125, allocations: 15.97 kB / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.01126, allocations: 4 kB / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.0113, allocations: 59.42 kB / 334.4 MB, free: 14 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0113, allocations: 0 / 334.4 MB, free: 14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.01159, allocations: 83.84 kB / 334.5 MB, free: 13.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.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 (23): * Single equations (assignments): 23 * 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 7.119e-05/0.01167, allocations: 88.95 kB / 334.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.01181, allocations: 141.3 kB / 334.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.01182, allocations: 320 / 334.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.01187, allocations: 67.75 kB / 334.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.01229, allocations: 60.86 kB / 334.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.01316, allocations: 0.6872 MB / 335.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.507e-05/0.01323, allocations: 92.25 kB / 335.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.0133, allocations: 34.95 kB / 335.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01342, allocations: 107.3 kB / 335.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01342, allocations: 3.938 kB / 335.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of Templates: time 0.004683/0.0181, allocations: 2.937 MB / 338.7 MB, free: 9.727 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.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.9208150589838624]