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.0008664/0.0008664, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001186/0.001186, allocations: 165 kB / 23.8 MB, free: 0.7734 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.018/1.018, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1411/0.1411, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 2.284e-06/2.284e-06, allocations: 0 / 347.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.928e-05, allocations: 6.312 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002826/0.002855, allocations: 2.728 MB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004197, allocations: 0.9822 MB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.004357, allocations: 11.88 kB / 351.4 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.004529, allocations: 51.45 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.00468, allocations: 111 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.005169, allocations: 147.5 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.005515, allocations: 390 kB / 352 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.005705, allocations: 57.41 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.005896, allocations: 207.5 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.006054, allocations: 107.7 kB / 352.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.006096, allocations: 24 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.006194, allocations: 43.98 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.006233, allocations: 63.73 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.006313, allocations: 111.8 kB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.006616, allocations: 263 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006619, allocations: 0 / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00662, allocations: 7.938 kB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.006627, allocations: 0 / 352.9 MB, free: 4.191 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.0006465/0.007273, allocations: 0.6246 MB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.007316, allocations: 12.03 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.007508, allocations: 72.69 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.007739, allocations: 220.1 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.007759, allocations: 21.03 kB / 353.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.007806, allocations: 32.38 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.008105, allocations: 265.4 kB / 354.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.008125, allocations: 8.141 kB / 354.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.00815, allocations: 15.94 kB / 354.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.008161, allocations: 8 kB / 354.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.008328, allocations: 114.6 kB / 354.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.009429, allocations: 1.414 MB / 355.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.009714, allocations: 243.5 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.00979, allocations: 78.36 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.009813, allocations: 4 kB / 356 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.009839, allocations: 41.39 kB / 356.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.009841, allocations: 4 kB / 356.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003409/0.01018, allocations: 193.2 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.01022, allocations: 158.2 kB / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.01033, allocations: 250.9 kB / 356.6 MB, free: 124 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.01035, allocations: 29.7 kB / 356.7 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01048, allocations: 239.1 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.01055, allocations: 103.3 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.01063, allocations: 63.36 kB / 357.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.01079, allocations: 0.504 MB / 357.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.01086, allocations: 35.97 kB / 357.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.01105, allocations: 249.7 kB / 357.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.01135, allocations: 309.2 kB / 358.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.01135, allocations: 7.938 kB / 358.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000331/0.01169, allocations: 285.6 kB / 358.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.01171, allocations: 7.938 kB / 358.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.01172, allocations: 8 kB / 358.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.01174, allocations: 4 kB / 358.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.01192, allocations: 91.83 kB / 358.6 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.01193, allocations: 11.94 kB / 358.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.379e-05/0.01203, allocations: 31.78 kB / 358.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.01205, allocations: 16.44 kB / 358.6 MB, free: 13.94 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.000125/0.01217, allocations: 180.5 kB / 358.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.01224, allocations: 35.8 kB / 358.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.01237, allocations: 87.06 kB / 358.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.01237, allocations: 7.984 kB / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01238, allocations: 0 / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01238, allocations: 0 / 358.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.01273, allocations: 228.4 kB / 359.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01273, allocations: 0 / 359.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.01291, allocations: 72.14 kB / 359.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01292, allocations: 4 kB / 359.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.01294, allocations: 15.94 kB / 359.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.01294, allocations: 4 kB / 359.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01294, allocations: 0 / 359.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.01341, allocations: 0.8145 MB / 360 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01343, allocations: 23.8 kB / 360.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01346, allocations: 11.94 kB / 360.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.01358, allocations: 4 kB / 360.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.01361, allocations: 15.97 kB / 360.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.01362, allocations: 8 kB / 360.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.01371, allocations: 175.9 kB / 360.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01371, allocations: 0 / 360.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.01408, allocations: 79.83 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.0001355/0.01421, allocations: 107.3 kB / 360.5 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.01448, allocations: 157.4 kB / 360.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01448, allocations: 4.062 kB / 360.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.01455, allocations: 71.53 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.0005203/0.01507, allocations: 64.5 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.001348/0.01641, allocations: 0.8865 MB / 361.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.0165, allocations: 96.31 kB / 361.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.52e-05/0.01659, allocations: 34.27 kB / 361.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.01664, allocations: 20.5 kB / 361.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01664, allocations: 0 / 361.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Templates: time 0.004821/0.02146, allocations: 2.485 MB / 364.3 MB, free: 8.176 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.2605158924125135]