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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111.5 kB / 16.64 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 193.9 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2053/0.2053, allocations: 43.52 MB / 314.3 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 68.02 kB / 382.9 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 57.79 MB / 440.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003764/0.1202, allocations: 2.289 MB / 442.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1215, allocations: 0.7722 MB / 443.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1217, allocations: 7.938 kB / 443.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1219, allocations: 23.78 kB / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1221, allocations: 59.59 kB / 443.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1225, allocations: 123.8 kB / 443.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.1228, allocations: 323.3 kB / 444.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1229, allocations: 92.83 kB / 444.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1231, allocations: 147.5 kB / 444.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1233, allocations: 147.5 kB / 444.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.1233, allocations: 28 kB / 444.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1235, allocations: 75.95 kB / 444.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.1236, allocations: 71.73 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1237, allocations: 135.3 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1239, allocations: 247.4 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1239, allocations: 0 / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1239, allocations: 0 / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.124, allocations: 0 / 445.2 MB, free: 2.816 MB / 318.1 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.0008026/0.1248, allocations: 0.5537 MB / 445.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1248, allocations: 15.83 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.1249, allocations: 24.66 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1251, allocations: 244.8 kB / 446 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1251, allocations: 12.81 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.1252, allocations: 32.22 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.1257, allocations: 271.5 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1257, allocations: 0 / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.1257, allocations: 8 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1257, allocations: 8 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.1261, allocations: 237.6 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1272, allocations: 0.7245 MB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.1277, allocations: 246.4 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.1279, allocations: 140.8 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1279, allocations: 0 / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.128, allocations: 38.55 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 9.02e-07/0.128, allocations: 0 / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003032/0.131, allocations: 1.457 MB / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1311, allocations: 55.39 kB / 449.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1313, allocations: 198.3 kB / 449.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1313, allocations: 37.64 kB / 449.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.1314, allocations: 140.6 kB / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.1315, allocations: 110.4 kB / 449.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1316, allocations: 69.69 kB / 449.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1318, allocations: 330.8 kB / 450.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.132, allocations: 123.7 kB / 450.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1323, allocations: 163.4 kB / 450.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.1327, allocations: 259.2 kB / 450.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1327, allocations: 0 / 450.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008187/0.1336, allocations: 441.7 kB / 451 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1336, allocations: 4 kB / 451 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1336, allocations: 4.062 kB / 451 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/0.1342, allocations: 236.6 kB / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1344, allocations: 55.97 kB / 451.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007068/0.1351, allocations: 0.7588 MB / 452.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1354, allocations: 39.95 kB / 452.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.1354, allocations: 16 kB / 452.1 MB, free: 11.45 MB / 334.1 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.000164/0.1356, allocations: 154 kB / 452.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.1356, allocations: 23.72 kB / 452.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.92e-05/0.1357, allocations: 38.58 kB / 452.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.1357, allocations: 7.984 kB / 452.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1358, allocations: 0 / 452.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1358, allocations: 4 kB / 452.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.1373, allocations: 0.9479 MB / 453.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1373, allocations: 0 / 453.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1375, allocations: 55.91 kB / 453.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.1379, allocations: 212.7 kB / 453.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.138, allocations: 12 kB / 453.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005829/0.1386, allocations: 0.7085 MB / 454.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1386, allocations: 0 / 454.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.1396, allocations: 0.6411 MB / 454.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.1398, allocations: 132.8 kB / 455.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.1398, allocations: 11.94 kB / 455.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.1401, allocations: 31.97 kB / 455.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.1402, allocations: 51.91 kB / 455.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1402, allocations: 11.98 kB / 455.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1404, allocations: 144.2 kB / 455.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1404, allocations: 8.062 kB / 455.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.1408, allocations: 76 kB / 455.4 MB, free: 8.051 MB / 334.1 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.0002161/0.141, allocations: 123.2 kB / 455.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007788/0.1418, allocations: 327.6 kB / 455.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1418, allocations: 0 / 455.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.1421, allocations: 164 kB / 456 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1425, allocations: 37.2 kB / 456 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1444, allocations: 0.8734 MB / 456.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1449, allocations: 0.7524 MB / 457.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.145, allocations: 23.44 kB / 457.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.145, allocations: 96 / 457.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of Templates: time 0.006669/0.1516, allocations: 4.098 MB / 461.8 MB, free: 1.598 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches