Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.00105/0.00105, allocations: 95.2 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.001071/0.001071, allocations: 165 kB / 23.79 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 0.9332/0.9332, 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.1446/0.1446, allocations: 32.36 MB / 270.4 MB, free: 14.72 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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.372e-05, allocations: 4.281 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002697/0.002721, allocations: 2.299 MB / 349.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003946, allocations: 0.7567 MB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.004089, allocations: 7.938 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.004296, allocations: 35.66 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.00441, allocations: 75.34 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.004837, allocations: 135.6 kB / 350.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.005088, allocations: 347.2 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.005244, allocations: 52.78 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.005471, allocations: 203.6 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.005631, allocations: 135.6 kB / 351.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.005676, allocations: 28 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005787, allocations: 75.94 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.005849, allocations: 59.81 kB / 351.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.005915, allocations: 99.73 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.006221, allocations: 263.1 kB / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006224, allocations: 0 / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006225, allocations: 0 / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.00623, allocations: 0 / 352.2 MB, free: 4.914 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005498/0.006779, allocations: 0.5819 MB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.006817, allocations: 8.031 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.006888, allocations: 40.8 kB / 352.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.007096, allocations: 204 kB / 353 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.007122, allocations: 20.88 kB / 353 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.007164, allocations: 20.38 kB / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.007473, allocations: 233.2 kB / 353.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.00749, allocations: 4.188 kB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.007512, allocations: 4.375 kB / 353.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.007523, allocations: 11.94 kB / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.007725, allocations: 150.9 kB / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.008563, allocations: 0.6148 MB / 354.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.008854, allocations: 190.9 kB / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.008962, allocations: 95.64 kB / 354.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.008983, allocations: 4 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.009002, allocations: 37.39 kB / 354.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.009004, allocations: 0 / 354.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001551/0.01055, allocations: 1.044 MB / 355.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.01059, allocations: 63.41 kB / 355.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.0107, allocations: 223.9 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01073, allocations: 41.69 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.01078, allocations: 179.5 kB / 355.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.01083, allocations: 115 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.01091, allocations: 71.34 kB / 356.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.011, allocations: 0.504 MB / 356.6 MB, free: 240 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01111, allocations: 79.89 kB / 356.7 MB, free: 160 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01125, allocations: 138.5 kB / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.01154, allocations: 198.3 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01154, allocations: 0 / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004725/0.01201, allocations: 348.7 kB / 357.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.01203, allocations: 8 kB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01204, allocations: 0 / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.01242, allocations: 199.6 kB / 357.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01256, allocations: 59.91 kB / 357.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000637/0.0132, allocations: 0.9405 MB / 358.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.0133, allocations: 39.91 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.01332, allocations: 8 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.01344, allocations: 172.8 kB / 358.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.01348, allocations: 31.84 kB / 358.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.01353, allocations: 38.64 kB / 358.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01354, allocations: 8.031 kB / 358.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01354, allocations: 0 / 358.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01355, allocations: 3.938 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.01448, allocations: 0.7965 MB / 359.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.01449, allocations: 7.938 kB / 359.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01462, allocations: 48.02 kB / 359.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.01486, allocations: 195.4 kB / 359.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.01488, allocations: 11.98 kB / 359.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005862/0.01547, allocations: 0.9171 MB / 360.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.01548, allocations: 3.984 kB / 360.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.01608, allocations: 0.5661 MB / 361.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.01615, allocations: 55.83 kB / 361.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.01618, allocations: 15.88 kB / 361.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.01628, allocations: 23.97 kB / 361.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.01636, allocations: 47.91 kB / 361.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.01638, allocations: 15.98 kB / 361.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.01646, allocations: 163.1 kB / 361.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01646, allocations: 0 / 361.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01669, allocations: 79.98 kB / 361.8 MB, free: 10.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.01687, allocations: 126.1 kB / 361.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.01729, allocations: 244.6 kB / 362.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01729, allocations: 4 kB / 362.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.01746, allocations: 139.4 kB / 362.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.01772, allocations: 39.97 kB / 362.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.01893, allocations: 0.63 MB / 363 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.285e-05/0.01899, allocations: 89 kB / 363 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.01905, allocations: 25.92 kB / 363.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.0191, allocations: 20.5 kB / 363.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01911, allocations: 0 / 363.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of Templates: time 0.006984/0.02609, allocations: 4.557 MB / 367.6 MB, free: 4.926 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.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.164112670812756]