Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002206/0.002206, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 98.84 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2886/0.2886, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 58.87 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003313/0.123, allocations: 1.793 MB / 492 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1249, allocations: 0.7495 MB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1252, allocations: 4 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1254, allocations: 23.78 kB / 492.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1256, allocations: 71.78 kB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.1262, allocations: 95.81 kB / 493 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.1266, allocations: 212 kB / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1268, allocations: 72.77 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.1271, allocations: 115.6 kB / 493.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1274, allocations: 143.4 kB / 493.5 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.1275, allocations: 15.98 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1277, allocations: 51.95 kB / 493.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1278, allocations: 47.83 kB / 493.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.1279, allocations: 65.58 kB / 493.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.1283, allocations: 231.6 kB / 493.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1284, allocations: 0 / 493.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1284, allocations: 4 kB / 493.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1284, allocations: 0 / 493.9 MB, free: 5.629 MB / 330.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.001322/0.1297, allocations: 0.5224 MB / 494.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1298, allocations: 8.031 kB / 494.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.1299, allocations: 35.61 kB / 494.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.1303, allocations: 242.6 kB / 494.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.1304, allocations: 16.44 kB / 494.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.1305, allocations: 23.91 kB / 494.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.1313, allocations: 259.2 kB / 495 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.1313, allocations: 8 kB / 495 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.1314, allocations: 4 kB / 495 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1314, allocations: 4 kB / 495 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.1322, allocations: 249.5 kB / 495.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1343, allocations: 0.7325 MB / 496 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.1352, allocations: 262.2 kB / 496.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.1353, allocations: 4 kB / 496.2 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1353, allocations: 38.56 kB / 496.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/0.1353, allocations: 0 / 496.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.005156/0.1405, allocations: 1.503 MB / 497.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.1406, allocations: 59.34 kB / 497.8 MB, free: 1.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1409, allocations: 198.3 kB / 498 MB, free: 1.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.141, allocations: 37.69 kB / 498.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1411, allocations: 203.1 kB / 498.3 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.1413, allocations: 114.5 kB / 498.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1413, allocations: 8 kB / 498.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1415, allocations: 322.8 kB / 498.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.142, allocations: 123.9 kB / 498.8 MB, free: 392 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.1424, allocations: 167.1 kB / 499 MB, free: 212 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.1429, allocations: 115.8 kB / 499.1 MB, free: 96 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1429, allocations: 0 / 499.1 MB, free: 96 kB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001524/0.1444, allocations: 453.8 kB / 499.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1445, allocations: 4 kB / 499.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1445, allocations: 0 / 499.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.1453, allocations: 244.6 kB / 499.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.1457, allocations: 51.97 kB / 499.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.147, allocations: 0.7436 MB / 0.4888 GB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.1475, allocations: 55.97 kB / 0.4889 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.1476, allocations: 8 kB / 0.4889 GB, free: 14.51 MB / 346.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,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.1478, allocations: 158 kB / 0.4891 GB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.1479, allocations: 15.81 kB / 0.4891 GB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.148, allocations: 42.59 kB / 0.4891 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.148, allocations: 0 / 0.4891 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.1481, allocations: 4 kB / 0.4891 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-06/0.1481, allocations: 3.984 kB / 0.4891 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.1506, allocations: 0.952 MB / 0.4901 GB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.1506, allocations: 4 kB / 0.4901 GB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.1511, allocations: 51.84 kB / 0.4901 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006957/0.1518, allocations: 224.7 kB / 0.4903 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.1518, allocations: 11.98 kB / 0.4903 GB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.1529, allocations: 0.7124 MB / 0.491 GB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1529, allocations: 0 / 0.491 GB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.1549, allocations: 0.6509 MB / 0.4917 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.1551, allocations: 124.8 kB / 0.4918 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.1552, allocations: 20.12 kB / 0.4918 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.1557, allocations: 47.95 kB / 0.4918 GB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.1559, allocations: 51.89 kB / 0.4919 GB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.156, allocations: 11.98 kB / 0.4919 GB, free: 11.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.1562, allocations: 144.5 kB / 0.492 GB, free: 11.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1562, allocations: 0 / 0.492 GB, free: 11.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.1568, allocations: 80 kB / 0.4921 GB, free: 11.07 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/0.157, allocations: 123.2 kB / 0.4922 GB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1583, allocations: 323.6 kB / 0.4925 GB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1583, allocations: 4 kB / 0.4926 GB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.1588, allocations: 155.9 kB / 0.4927 GB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1593, allocations: 35.61 kB / 0.4927 GB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.1628, allocations: 0.9713 MB / 0.4937 GB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1633, allocations: 0.7607 MB / 0.4944 GB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1634, allocations: 19.44 kB / 0.4944 GB, free: 8.625 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1634, allocations: 0 / 0.4944 GB, free: 8.625 MB / 346.7 MB Notification: Performance of Templates: time 0.01007/0.1735, allocations: 3.942 MB / 0.4983 GB, free: 4.68 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches