Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001119/0.001119, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001333/0.001333, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.062/1.062, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1495/0.1495, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 4 kB / 347.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.346e-05, allocations: 6.25 kB / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004482/0.004516, allocations: 2.732 MB / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.006653, allocations: 0.9744 MB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.006951, allocations: 15.94 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.007177, allocations: 51.45 kB / 351.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.007455, allocations: 107 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.008152, allocations: 143.5 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.008665, allocations: 390 kB / 352 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.00888, allocations: 65.39 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.009171, allocations: 203.5 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.009362, allocations: 111.7 kB / 352.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.009406, allocations: 24 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.009528, allocations: 43.98 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.009578, allocations: 63.73 kB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.009685, allocations: 111.8 kB / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.0101, allocations: 263 kB / 352.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.01011, allocations: 3.938 kB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.01011, allocations: 0 / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.01012, allocations: 4 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001148/0.01127, allocations: 0.6207 MB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.284e-05/0.01135, allocations: 12.03 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.01172, allocations: 76.69 kB / 353.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.01216, allocations: 216.1 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.0122, allocations: 21.03 kB / 353.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.01228, allocations: 32.38 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.01278, allocations: 269.4 kB / 354.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.01282, allocations: 4.141 kB / 354.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.01285, allocations: 19.94 kB / 354.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.01287, allocations: 8 kB / 354.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.01316, allocations: 111.8 kB / 354.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.01489, allocations: 1.414 MB / 355.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.01535, allocations: 239.5 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.01544, allocations: 78.45 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.01547, allocations: 4 kB / 356 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.0155, allocations: 41.33 kB / 356.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.906e-06/0.0155, allocations: 0 / 356.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005027/0.016, allocations: 197.9 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.01605, allocations: 158.2 kB / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.01625, allocations: 254.9 kB / 356.6 MB, free: 120 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01626, allocations: 25.7 kB / 356.7 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.01644, allocations: 247 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.01652, allocations: 99.16 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01662, allocations: 63.36 kB / 357.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.01683, allocations: 0.5079 MB / 357.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01693, allocations: 35.97 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.01717, allocations: 237.7 kB / 357.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.01755, allocations: 321.2 kB / 358.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.01756, allocations: 0 / 358.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004774/0.01804, allocations: 289.3 kB / 358.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.01806, allocations: 7.938 kB / 358.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.01808, allocations: 8 kB / 358.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.01811, allocations: 7.984 kB / 358.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.01839, allocations: 87.84 kB / 358.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.01841, allocations: 11.98 kB / 358.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.01857, allocations: 31.78 kB / 358.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.01859, allocations: 16 kB / 358.6 MB, free: 13.93 MB / 298.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 0.0001439/0.01873, allocations: 188.7 kB / 358.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.01885, allocations: 35.8 kB / 358.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.01906, allocations: 79.14 kB / 358.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.01907, allocations: 4 kB / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.01908, allocations: 0 / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.01909, allocations: 3.984 kB / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.01962, allocations: 220.4 kB / 359.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.01962, allocations: 4.25 kB / 359.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.01989, allocations: 63.91 kB / 359.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.0199, allocations: 4 kB / 359.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.01992, allocations: 19.92 kB / 359.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.01993, allocations: 4 kB / 359.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01993, allocations: 0 / 359.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.02053, allocations: 0.8145 MB / 360 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.02057, allocations: 23.8 kB / 360.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.02061, allocations: 11.94 kB / 360.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.02083, allocations: 4 kB / 360.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.02087, allocations: 19.97 kB / 360.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.02089, allocations: 4 kB / 360.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.02101, allocations: 175.9 kB / 360.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02101, allocations: 11.88 kB / 360.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005948/0.0216, allocations: 75.89 kB / 360.4 MB, free: 12.11 MB / 298.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 0.0001297/0.02173, allocations: 99.25 kB / 360.5 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.02206, allocations: 157.3 kB / 360.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.02207, allocations: 0 / 360.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.02216, allocations: 75.72 kB / 360.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.02293, allocations: 70.98 kB / 360.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.02467, allocations: 0.8981 MB / 361.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.434e-05/0.02476, allocations: 88.31 kB / 361.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.02487, allocations: 34.28 kB / 361.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.02493, allocations: 20.5 kB / 361.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.933e-06/0.02494, allocations: 0 / 361.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Templates: time 0.005252/0.03019, allocations: 2.614 MB / 364.4 MB, free: 8.039 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.153380675241351]