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.001409/0.001409, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001538/0.001538, allocations: 157.7 kB / 23.51 MB, free: 0.9258 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.514/1.514, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2354/0.2354, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.923e-06/1.923e-06, allocations: 0 / 346.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.033e-05, allocations: 2.312 kB / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003451/0.003481, allocations: 2.527 MB / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004956, allocations: 0.9433 MB / 350.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.005111, allocations: 11.94 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.005288, allocations: 47.45 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.005465, allocations: 115 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.005911, allocations: 147.5 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.006293, allocations: 382 kB / 351.1 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.006492, allocations: 61.39 kB / 351.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.006685, allocations: 211.5 kB / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.006838, allocations: 107.7 kB / 351.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.006879, allocations: 24 kB / 351.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.006987, allocations: 43.98 kB / 351.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.007038, allocations: 59.75 kB / 351.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.00715, allocations: 115.8 kB / 351.7 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.007545, allocations: 374.7 kB / 352 MB, free: 4.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007548, allocations: 3.984 kB / 352 MB, free: 4.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007549, allocations: 0 / 352 MB, free: 4.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.007555, allocations: 0 / 352 MB, free: 4.684 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.0008392/0.008394, allocations: 0.5208 MB / 352.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.008442, allocations: 8.031 kB / 352.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.008724, allocations: 84.62 kB / 352.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.009047, allocations: 205.2 kB / 352.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.009071, allocations: 25.03 kB / 352.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.00913, allocations: 36.38 kB / 352.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.009569, allocations: 307.2 kB / 353.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.009591, allocations: 4.141 kB / 353.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.00962, allocations: 15.94 kB / 353.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009629, allocations: 12 kB / 353.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.009904, allocations: 175.8 kB / 353.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.01138, allocations: 1.181 MB / 354.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.01173, allocations: 237 kB / 354.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.01182, allocations: 72.31 kB / 354.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.01184, allocations: 8 kB / 354.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.01187, allocations: 46.5 kB / 355 MB, free: 1.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.01187, allocations: 0 / 355 MB, free: 1.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004865/0.01236, allocations: 225.4 kB / 355.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.01241, allocations: 162.2 kB / 355.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01256, allocations: 200.3 kB / 355.5 MB, free: 0.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01257, allocations: 33.69 kB / 355.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.01267, allocations: 192.3 kB / 355.7 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.01272, allocations: 95.22 kB / 355.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.01279, allocations: 65.66 kB / 355.9 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.01287, allocations: 334.9 kB / 356.2 MB, free: 192 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.01296, allocations: 63.97 kB / 356.3 MB, free: 128 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.01322, allocations: 202.3 kB / 356.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.0137, allocations: 297.7 kB / 356.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.0137, allocations: 4 kB / 356.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005792/0.01428, allocations: 333 kB / 357.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.01431, allocations: 11.94 kB / 357.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.01432, allocations: 7.938 kB / 357.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/0.01436, allocations: 11.98 kB / 357.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.01468, allocations: 88.38 kB / 357.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.0147, allocations: 12 kB / 357.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.01487, allocations: 27.78 kB / 357.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.0149, allocations: 23.98 kB / 357.3 MB, free: 14.99 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.0003369/0.01524, allocations: 149.7 kB / 357.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.01537, allocations: 36.36 kB / 357.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.01556, allocations: 83.14 kB / 357.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01556, allocations: 4 kB / 357.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.01558, allocations: 4 kB / 357.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.01558, allocations: 3.984 kB / 357.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.01612, allocations: 221.1 kB / 357.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01612, allocations: 4 kB / 357.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.01646, allocations: 67.91 kB / 357.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01646, allocations: 0 / 357.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.01649, allocations: 11.94 kB / 357.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.01649, allocations: 4 kB / 357.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.0165, allocations: 0 / 357.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.0172, allocations: 0.6391 MB / 358.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.01724, allocations: 24.05 kB / 358.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.01728, allocations: 11.92 kB / 358.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.01753, allocations: 12 kB / 358.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.01758, allocations: 19.97 kB / 358.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01759, allocations: 4 kB / 358.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.01773, allocations: 147.9 kB / 358.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01773, allocations: 0 / 358.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.01828, allocations: 83.78 kB / 358.8 MB, free: 13.41 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.0001404/0.01842, allocations: 103.2 kB / 358.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.01879, allocations: 180.5 kB / 359.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01879, allocations: 112 / 359.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01891, allocations: 75.78 kB / 359.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.01974, allocations: 68.02 kB / 359.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.02139, allocations: 0.882 MB / 360.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.02161, allocations: 164.8 kB / 360.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.02173, allocations: 34.27 kB / 360.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.0218, allocations: 20.5 kB / 360.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.0218, allocations: 0 / 360.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Templates: time 0.006847/0.02864, allocations: 2.488 MB / 362.8 MB, free: 9.398 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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: 5.012829207000323]