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.00161/0.00161, allocations: 77 kB / 20.65 MB, free: 3.84 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.00154/0.00154, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9 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.155/0.155, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.443e-06/1.443e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.538e-05, allocations: 2.312 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003297/0.003322, allocations: 2.274 MB / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004645, allocations: 0.7411 MB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.004822, allocations: 7.938 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.00503, allocations: 47.58 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.005182, allocations: 71.36 kB / 351.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.005658, allocations: 135.7 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.006002, allocations: 347.2 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.006157, allocations: 48.8 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.006456, allocations: 211.5 kB / 352 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.006639, allocations: 127.7 kB / 352.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.006683, allocations: 28 kB / 352.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.006835, allocations: 71.95 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.006908, allocations: 75.73 kB / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.00699, allocations: 87.81 kB / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.007331, allocations: 271 kB / 352.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.007336, allocations: 3.984 kB / 352.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007337, allocations: 0 / 352.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.007344, allocations: 0 / 352.6 MB, free: 4.648 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.0006438/0.007988, allocations: 0.5701 MB / 353.2 MB, free: 4.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.008034, allocations: 12.03 kB / 353.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.008111, allocations: 44.8 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.008319, allocations: 204 kB / 353.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.008343, allocations: 20.88 kB / 353.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.008383, allocations: 20.38 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.008678, allocations: 201.3 kB / 353.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.008692, allocations: 192 / 353.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.008713, allocations: 4.375 kB / 353.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.008723, allocations: 11.94 kB / 353.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.008902, allocations: 115.4 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.009755, allocations: 0.5803 MB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.01003, allocations: 170.9 kB / 354.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.01014, allocations: 83.62 kB / 354.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01016, allocations: 4 kB / 354.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.01018, allocations: 45.33 kB / 354.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.01018, allocations: 0 / 354.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001564/0.01175, allocations: 0.9117 MB / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.01177, allocations: 55.41 kB / 355.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01187, allocations: 223.6 kB / 355.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.0119, allocations: 33.7 kB / 355.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.01196, allocations: 187.5 kB / 356.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.01202, allocations: 123 kB / 356.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.01211, allocations: 71.33 kB / 356.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.01217, allocations: 0.504 MB / 356.8 MB, free: 248 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.01227, allocations: 55.95 kB / 356.8 MB, free: 192 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.01239, allocations: 110.5 kB / 356.9 MB, free: 64 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.01263, allocations: 170.3 kB / 357.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01263, allocations: 0 / 357.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004857/0.01311, allocations: 304.7 kB / 357.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01313, allocations: 4 kB / 357.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.01314, allocations: 4 kB / 357.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.0135, allocations: 187.6 kB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.01367, allocations: 55.91 kB / 357.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005894/0.01426, allocations: 0.9131 MB / 358.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.01441, allocations: 32 kB / 358.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.01443, allocations: 11.94 kB / 358.6 MB, free: 14.33 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.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward,bearingFriction1.free) * 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.0001348/0.01456, allocations: 172.8 kB / 358.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.01463, allocations: 35.86 kB / 358.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.01469, allocations: 34.58 kB / 358.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.01469, allocations: 4 kB / 358.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.0147, allocations: 0 / 358.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.0147, allocations: 3.984 kB / 358.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.01577, allocations: 0.7306 MB / 359.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.01577, allocations: 0 / 359.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.01594, allocations: 47.97 kB / 359.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.01624, allocations: 183.5 kB / 359.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.01627, allocations: 15.92 kB / 359.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005169/0.01679, allocations: 0.8975 MB / 360.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01679, allocations: 0 / 360.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.01745, allocations: 0.5074 MB / 361.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.01755, allocations: 51.8 kB / 361.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.01759, allocations: 12.06 kB / 361.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.01775, allocations: 32.03 kB / 361.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.01784, allocations: 47.84 kB / 361.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.01786, allocations: 15.98 kB / 361.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.01795, allocations: 151.1 kB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01795, allocations: 0 / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.01831, allocations: 79.98 kB / 361.6 MB, free: 11.2 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.000187/0.0185, allocations: 117.8 kB / 361.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.01891, allocations: 212.7 kB / 361.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01891, allocations: 4 kB / 361.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.01911, allocations: 123.4 kB / 362.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.01947, allocations: 43.91 kB / 362.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.02082, allocations: 0.612 MB / 362.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.394e-05/0.02089, allocations: 85.06 kB / 362.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.02096, allocations: 26.05 kB / 362.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.02107, allocations: 106.1 kB / 362.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02107, allocations: 4 kB / 362.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of Templates: time 0.008478/0.02955, allocations: 4.647 MB / 367.6 MB, free: 5.184 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.26728129433468]