Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001497/0.001497, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.23/0.23, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001764/0.001764, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01394/0.164, allocations: 11.03 MB / 0.4986 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009074/0.1731, allocations: 3.061 MB / 0.5016 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003393/0.1766, allocations: 51.94 kB / 0.5017 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004622/0.1813, allocations: 2.021 MB / 0.5037 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.1855, allocations: 1.23 MB / 0.5049 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.1865, allocations: 295.4 kB / 0.5051 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.1907, allocations: 2.501 MB / 0.5076 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.1947, allocations: 2.403 MB / 0.5099 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.1969, allocations: 0.9578 MB / 0.5109 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.1994, allocations: 1.3 MB / 0.5121 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009045/0.2003, allocations: 220 kB / 0.5123 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.2026, allocations: 0.7099 MB / 0.513 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.2046, allocations: 1.247 MB / 0.5143 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002932/0.2075, allocations: 1.468 MB / 0.5157 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005825/0.2134, allocations: 4.835 MB / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2134, allocations: 0 / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2134, allocations: 0 / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.438e-05/0.2135, allocations: 3.938 kB / 0.5204 GB, free: 10.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.005765/0.2193, allocations: 3.155 MB / 0.5235 GB, free: 7.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2194, allocations: 8.031 kB / 0.5235 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.2248, allocations: 1.619 MB / 0.5251 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.2276, allocations: 1.422 MB / 0.5265 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.2278, allocations: 164.4 kB / 0.5266 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.2281, allocations: 207.8 kB / 0.5268 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3356/0.5638, allocations: 6.966 MB / 0.5336 GB, free: 37.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.5639, allocations: 13.69 kB / 0.5336 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.5642, allocations: 95.78 kB / 0.5337 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002562/0.5667, allocations: 1.526 MB / 0.5352 GB, free: 37.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.5794, allocations: 5.947 MB / 0.541 GB, free: 35.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03563/0.6151, allocations: 22.09 MB / 0.5626 GB, free: 21.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/0.6193, allocations: 2.182 MB / 0.5647 GB, free: 19.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.6204, allocations: 0.8135 MB / 0.5655 GB, free: 19.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006344/0.6268, allocations: 3.957 MB / 0.5694 GB, free: 16.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.6268, allocations: 43.19 kB / 0.5694 GB, free: 16.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.567e-06/0.6268, allocations: 0 / 0.5694 GB, free: 16.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005169/0.632, allocations: 2.259 MB / 0.5716 GB, free: 14.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.632, allocations: 56.06 kB / 0.5717 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.6345, allocations: 2.06 MB / 0.5737 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.6346, allocations: 39.73 kB / 0.5737 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.6354, allocations: 2.014 MB / 0.5757 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.6357, allocations: 375.2 kB / 0.5761 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007001/0.6364, allocations: 0.6683 MB / 0.5767 GB, free: 9.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.6365, allocations: 369.8 kB / 0.5771 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.6376, allocations: 0.9902 MB / 0.578 GB, free: 7.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.6394, allocations: 2.998 MB / 0.581 GB, free: 3.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/0.6431, allocations: 4.355 MB / 0.5852 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/0.6432, allocations: 24 kB / 0.5852 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005733/0.6489, allocations: 3.885 MB / 0.589 GB, free: 10.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.649, allocations: 36 kB / 0.5891 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.694e-05/0.649, allocations: 72.91 kB / 0.5891 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-05/0.6491, allocations: 92 kB / 0.5892 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.6512, allocations: 0.7348 MB / 0.59 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/0.6513, allocations: 139.4 kB / 0.5901 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.6532, allocations: 455.2 kB / 0.5905 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.6535, allocations: 200 kB / 0.5907 GB, free: 8.984 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * 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.002358/0.6558, allocations: 1.465 MB / 0.5921 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.6561, allocations: 173.7 kB / 0.5923 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.6581, allocations: 1.245 MB / 0.5935 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.6581, allocations: 12 kB / 0.5935 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6581, allocations: 3.938 kB / 0.5935 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6581, allocations: 11.08 kB / 0.5935 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007745/0.6659, allocations: 5.029 MB / 0.5985 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.6659, allocations: 12 kB / 0.5985 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.6665, allocations: 139.7 kB / 0.5986 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.6666, allocations: 16 kB / 0.5986 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.6666, allocations: 24 kB / 0.5986 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/0.6667, allocations: 20.73 kB / 0.5987 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.6667, allocations: 15.94 kB / 0.5987 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.6688, allocations: 1.589 MB / 0.6002 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.6692, allocations: 266.5 kB / 0.6005 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.6694, allocations: 27.98 kB / 0.6005 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.6701, allocations: 39.98 kB / 0.6005 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6702, allocations: 83.67 kB / 0.6006 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.6703, allocations: 36 kB / 0.6007 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001884/0.6722, allocations: 1.348 MB / 0.602 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6722, allocations: 0 / 0.602 GB, free: 13.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002832/0.675, allocations: 0.7765 MB / 0.6027 GB, free: 12.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 simulation (76): * Single equations (assignments): 73 * Array equations: 3 * 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.000326/0.6754, allocations: 157.7 kB / 0.6029 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003822/0.6792, allocations: 2.326 MB / 0.6052 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.6792, allocations: 0 / 0.6052 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009165/0.6801, allocations: 0.5613 MB / 0.6057 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6817, allocations: 263.8 kB / 0.606 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.692, allocations: 5.731 MB / 0.6116 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/0.6944, allocations: 2.462 MB / 0.614 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002279/0.6967, allocations: 1.043 MB / 0.615 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.6971, allocations: 135.4 kB / 0.6151 GB, free: 15.42 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6971, allocations: 0 / 0.6151 GB, free: 15.42 MB / 462.1 MB Notification: Performance of Templates: time 0.03125/0.7283, allocations: 16.95 MB / 0.6317 GB, free: 14.48 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches