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.001418/0.001418, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.00148/0.00148, allocations: 166.8 kB / 24.84 MB, free: 9.285 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.042/1.042, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1514/0.1514, allocations: 32.38 MB / 271.5 MB, free: 14.54 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 1.553e-06/1.553e-06, allocations: 0 / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.017e-05, allocations: 4.281 kB / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002683/0.002703, allocations: 2.69 MB / 351.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003788, allocations: 0.9744 MB / 352.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.003915, allocations: 11.88 kB / 352.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.004067, allocations: 55.5 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.004194, allocations: 111 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.004563, allocations: 147.5 kB / 352.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.004825, allocations: 386 kB / 353.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.004959, allocations: 57.41 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.005096, allocations: 207.5 kB / 353.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005225, allocations: 107.7 kB / 353.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.005256, allocations: 28 kB / 353.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.348e-05/0.005329, allocations: 32 kB / 353.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.005368, allocations: 71.67 kB / 353.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.005435, allocations: 119.7 kB / 353.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.005668, allocations: 259 kB / 354.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.00567, allocations: 0 / 354.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00567, allocations: 4 kB / 354.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005674, allocations: 0 / 354.1 MB, free: 3.945 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.0005601/0.006235, allocations: 0.6284 MB / 354.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.006267, allocations: 12.02 kB / 354.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.006429, allocations: 80.69 kB / 354.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.006608, allocations: 208.1 kB / 355 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006625, allocations: 21.03 kB / 355.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.00666, allocations: 36.38 kB / 355.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.006856, allocations: 249.3 kB / 355.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.006876, allocations: 16.11 kB / 355.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.006892, allocations: 11.94 kB / 355.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.006901, allocations: 8 kB / 355.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.007021, allocations: 99.83 kB / 355.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.007883, allocations: 1.363 MB / 356.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.008082, allocations: 235.5 kB / 357.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.008126, allocations: 74.36 kB / 357.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.008143, allocations: 12 kB / 357.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.008162, allocations: 41.39 kB / 357.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.008164, allocations: 3.938 kB / 357.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002689/0.008433, allocations: 185.6 kB / 357.4 MB, free: 428 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.008472, allocations: 158.2 kB / 357.5 MB, free: 232 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.008606, allocations: 242.8 kB / 357.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.008628, allocations: 33.69 kB / 357.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.008755, allocations: 239.1 kB / 358 MB, free: 15.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.008822, allocations: 103.1 kB / 358.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.008892, allocations: 63.33 kB / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.009052, allocations: 0.5158 MB / 358.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.009096, allocations: 27.97 kB / 358.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.009265, allocations: 237.6 kB / 359 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.009502, allocations: 289.1 kB / 359.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.009506, allocations: 3.938 kB / 359.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002755/0.009781, allocations: 261 kB / 359.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.009797, allocations: 11.94 kB / 359.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.009805, allocations: 8.125 kB / 359.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.009821, allocations: 8 kB / 359.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.00998, allocations: 87.91 kB / 359.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.009991, allocations: 16.77 kB / 359.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.01007, allocations: 31.78 kB / 359.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01009, allocations: 16 kB / 359.7 MB, free: 13.83 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 9.605e-05/0.01019, allocations: 180.4 kB / 359.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.01026, allocations: 35.8 kB / 359.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.01037, allocations: 79.08 kB / 360 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01038, allocations: 4 kB / 360 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01038, allocations: 4 kB / 360 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01038, allocations: 3.984 kB / 360 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.01068, allocations: 181 kB / 360.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01068, allocations: 8 kB / 360.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.01085, allocations: 63.91 kB / 360.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01085, allocations: 0 / 360.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01087, allocations: 11.98 kB / 360.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01087, allocations: 7.938 kB / 360.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01088, allocations: 3.984 kB / 360.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.0113, allocations: 0.8027 MB / 361.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.01133, allocations: 27.78 kB / 361.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.01135, allocations: 8 kB / 361.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.01148, allocations: 7.938 kB / 361.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.01151, allocations: 19.97 kB / 361.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01152, allocations: 8 kB / 361.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.0116, allocations: 171.8 kB / 361.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 361.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.01193, allocations: 79.89 kB / 361.4 MB, free: 12.07 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 8.669e-05/0.01202, allocations: 99.19 kB / 361.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.0122, allocations: 149.3 kB / 361.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0122, allocations: 4 kB / 361.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.01226, allocations: 59.53 kB / 361.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.01275, allocations: 68.98 kB / 361.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01386, allocations: 0.894 MB / 362.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.01393, allocations: 92.3 kB / 362.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.01401, allocations: 26.28 kB / 362.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01413, allocations: 126.2 kB / 362.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01414, allocations: 0 / 362.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Templates: time 0.004967/0.0191, allocations: 2.746 MB / 365.6 MB, free: 7.797 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.3016440318897367]