Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009708/0.0009707, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007906/0.0007907, allocations: 90.55 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3237/0.3237, allocations: 43.47 MB / 358.6 MB, free: 51.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.149e-05, allocations: 8 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4466, allocations: 107 MB / 0.5773 GB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4469, allocations: 82.8 kB / 0.5774 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7025/1.149, allocations: 199.6 MB / 0.7724 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.825e-06/1.149, allocations: 0 / 0.7724 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004503/1.15, allocations: 191.5 kB / 0.7725 GB, free: 76.33 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.0289/1.179, allocations: 9.426 MB / 0.7817 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.179, allocations: 9.25 kB / 0.7818 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/1.2, allocations: 4.039 MB / 0.7857 GB, free: 71.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0236/1.224, allocations: 10.57 MB / 0.796 GB, free: 69.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006498/1.224, allocations: 0.7916 MB / 0.7968 GB, free: 68.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004568/1.229, allocations: 1.042 MB / 0.7978 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05373/1.283, allocations: 24.09 MB / 0.8213 GB, free: 57.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000402/1.283, allocations: 101 kB / 0.8214 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00353/1.287, allocations: 492.2 kB / 0.8219 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00308/1.29, allocations: 2.288 MB / 0.8241 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0373/1.327, allocations: 18.97 MB / 0.8427 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4113/1.738, allocations: 94.26 MB / 0.9347 GB, free: 41.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.756, allocations: 7.605 MB / 0.9421 GB, free: 41.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.76, allocations: 3.031 MB / 0.9451 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01974/1.78, allocations: 13.31 MB / 0.9581 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/1.78, allocations: 66.97 kB / 0.9582 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 7.855e-06/1.78, allocations: 2.594 kB / 0.9582 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.04525/1.825, allocations: 18.79 MB / 0.9765 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/1.825, allocations: 169.6 kB / 0.9767 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009219/1.834, allocations: 6.425 MB / 0.9829 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005678/1.835, allocations: 78.73 kB / 0.983 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.839, allocations: 6.824 MB / 0.9897 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.84, allocations: 1.359 MB / 0.991 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/1.84, allocations: 213.5 kB / 0.9912 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001106/1.842, allocations: 0.7572 MB / 0.9919 GB, free: 42.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/1.846, allocations: 2.989 MB / 0.9949 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008257/1.854, allocations: 9.49 MB / 1.004 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008181/1.862, allocations: 5.243 MB / 1.009 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/1.863, allocations: 66.47 kB / 1.009 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.02217/1.885, allocations: 12.21 MB / 1.021 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000267/1.885, allocations: 105.2 kB / 1.021 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004129/1.886, allocations: 229.2 kB / 1.022 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/1.886, allocations: 341.6 kB / 1.022 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008712/1.895, allocations: 2.617 MB / 1.024 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004356/1.895, allocations: 458.3 kB / 1.025 GB, free: 27.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009857/1.905, allocations: 0.6835 MB / 1.026 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002138/1.907, allocations: 0.6407 MB / 1.026 GB, free: 26.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * Number of states: 0 () * Number of discrete variables: 72 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1369): * Single equations (assignments): 1366 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002953/1.91, allocations: 0.9438 MB / 1.027 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.912, allocations: 0.6748 MB / 1.028 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/1.919, allocations: 3.979 MB / 1.032 GB, free: 24.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/1.919, allocations: 36.38 kB / 1.032 GB, free: 24.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.919, allocations: 4 kB / 1.032 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/1.919, allocations: 21.14 kB / 1.032 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05451/1.974, allocations: 41.64 MB / 1.072 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-05/1.974, allocations: 91.84 kB / 1.072 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/1.976, allocations: 0.8481 MB / 1.073 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/1.977, allocations: 128 kB / 1.073 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/1.977, allocations: 191.5 kB / 1.074 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001065/1.977, allocations: 173 kB / 1.074 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.357e-05/1.977, allocations: 139.4 kB / 1.074 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.993, allocations: 25.15 MB / 1.098 GB, free: 4.145 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.995, allocations: 0.8404 MB / 1.099 GB, free: 3.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008669/1.996, allocations: 206.3 kB / 1.099 GB, free: 3.141 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003462/2, allocations: 272.4 kB / 1.1 GB, free: 2.918 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/2, allocations: 0.5625 MB / 1.1 GB, free: 2.457 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/2.001, allocations: 243.2 kB / 1.101 GB, free: 2.227 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.2772/2.278, allocations: 4.777 MB / 1.105 GB, free: 131.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.253e-06/2.278, allocations: 0 / 1.105 GB, free: 131.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0122/2.29, allocations: 1.881 MB / 1.107 GB, free: 131.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/2.291, allocations: 389.4 kB / 1.107 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01187/2.303, allocations: 7.287 MB / 1.114 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.396e-05/2.303, allocations: 14 kB / 1.115 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/2.306, allocations: 2.117 MB / 1.117 GB, free: 131.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/2.314, allocations: 1.085 MB / 1.118 GB, free: 131.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/2.349, allocations: 18.57 MB / 1.136 GB, free: 124.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/2.359, allocations: 7.16 MB / 1.143 GB, free: 124 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01063/2.37, allocations: 3.324 MB / 1.146 GB, free: 123.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/2.371, allocations: 0.4975 MB / 1.146 GB, free: 123.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/2.371, allocations: 1.531 kB / 1.146 GB, free: 123.9 MB / 0.573 GB Notification: Performance of Templates: time 0.09808/2.47, allocations: 57.68 MB / 1.203 GB, free: 120.5 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches