Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001418/0.001418, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001715/0.001715, allocations: 214.2 kB / 22.99 MB, free: 4.977 MB / 14.72 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.56/1.56, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.241/0.241, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 72.98 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1614, allocations: 61.05 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0158/0.1772, allocations: 11.01 MB / 0.5274 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1878, allocations: 3.225 MB / 0.5305 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.191, allocations: 71.81 kB / 0.5306 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006145/0.1972, allocations: 2.578 MB / 0.5331 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005156/0.2023, allocations: 1.397 MB / 0.5345 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.2039, allocations: 351.4 kB / 0.5348 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006012/0.2099, allocations: 2.874 MB / 0.5376 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3159/0.5258, allocations: 2.439 MB / 0.54 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.5284, allocations: 1.216 MB / 0.5412 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003757/0.5322, allocations: 1.641 MB / 0.5428 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.5332, allocations: 296.4 kB / 0.5431 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.5352, allocations: 0.6889 MB / 0.5438 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002016/0.5372, allocations: 1.601 MB / 0.5453 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002919/0.5401, allocations: 1.337 MB / 0.5466 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.551, allocations: 6.049 MB / 0.5525 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.551, allocations: 3.938 kB / 0.5525 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.551, allocations: 0 / 0.5525 GB, free: 9.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003103/0.5513, allocations: 0.9688 kB / 0.5525 GB, free: 9.105 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01299/0.5643, allocations: 3.769 MB / 0.5562 GB, free: 7.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5643, allocations: 9.531 kB / 0.5562 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006339/0.5707, allocations: 1.733 MB / 0.5579 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/0.5756, allocations: 1.607 MB / 0.5595 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.5758, allocations: 207.6 kB / 0.5597 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.5769, allocations: 266.4 kB / 0.5599 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.5969, allocations: 8.366 MB / 0.5681 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.5971, allocations: 15.47 kB / 0.5681 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009097/0.598, allocations: 123.4 kB / 0.5682 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003568/0.6015, allocations: 1.761 MB / 0.57 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.6195, allocations: 7.027 MB / 0.5768 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.6651, allocations: 23.3 MB / 0.5996 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005808/0.6709, allocations: 1.983 MB / 0.6015 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.6725, allocations: 0.8924 MB / 0.6024 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008815/0.6814, allocations: 3.769 MB / 0.6061 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.6814, allocations: 51.31 kB / 0.6061 GB, free: 3.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 4.929e-06/0.6814, allocations: 0 / 0.6061 GB, free: 3.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007624/0.689, allocations: 2.72 MB / 0.6088 GB, free: 1.148 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.6891, allocations: 64.41 kB / 0.6088 GB, free: 1.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.6931, allocations: 2.176 MB / 0.611 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.6932, allocations: 43.97 kB / 0.611 GB, free: 14.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.6952, allocations: 2.43 MB / 0.6134 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.6957, allocations: 482.6 kB / 0.6138 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.6968, allocations: 0.753 MB / 0.6146 GB, free: 11.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.697, allocations: 349.9 kB / 0.6149 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.6989, allocations: 1.124 MB / 0.616 GB, free: 9.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/0.703, allocations: 3.283 MB / 0.6192 GB, free: 5.414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009052/0.712, allocations: 4.818 MB / 0.6239 GB, free: 15.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.445e-05/0.7121, allocations: 24 kB / 0.6239 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.0134/0.7255, allocations: 4.313 MB / 0.6282 GB, free: 11.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/0.7256, allocations: 36 kB / 0.6282 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/0.7257, allocations: 76 kB / 0.6283 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.7258, allocations: 104 kB / 0.6284 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/0.7301, allocations: 0.8187 MB / 0.6292 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/0.7303, allocations: 151.4 kB / 0.6293 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/0.7347, allocations: 497.7 kB / 0.6298 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007607/0.7354, allocations: 220 kB / 0.63 GB, free: 9.887 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (450): * Single equations (assignments): 445 * 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.004345/0.7398, allocations: 1.705 MB / 0.6317 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/0.7403, allocations: 194.7 kB / 0.6318 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/0.7434, allocations: 1.503 MB / 0.6333 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.7435, allocations: 16 kB / 0.6333 GB, free: 6.461 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.7435, allocations: 0 / 0.6333 GB, free: 6.461 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.7435, allocations: 3.984 kB / 0.6333 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.7578, allocations: 6.012 MB / 0.6392 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.7579, allocations: 16 kB / 0.6392 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/0.7587, allocations: 191.6 kB / 0.6394 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.73e-05/0.7587, allocations: 19.89 kB / 0.6394 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.7588, allocations: 40.92 kB / 0.6395 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-05/0.7588, allocations: 27.88 kB / 0.6395 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.7588, allocations: 20.34 kB / 0.6395 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.762, allocations: 1.984 MB / 0.6414 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.7626, allocations: 202.5 kB / 0.6416 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.7628, allocations: 32 kB / 0.6417 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.7635, allocations: 47.95 kB / 0.6417 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.7637, allocations: 118.5 kB / 0.6418 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.7639, allocations: 51.98 kB / 0.6419 GB, free: 13.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00275/0.7666, allocations: 1.245 MB / 0.6431 GB, free: 12.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7666, allocations: 4 kB / 0.6431 GB, free: 12.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004588/0.7712, allocations: 0.969 MB / 0.644 GB, free: 11.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0005636/0.7718, allocations: 181.3 kB / 0.6442 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00517/0.7769, allocations: 2.543 MB / 0.6467 GB, free: 8.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.777, allocations: 4 kB / 0.6467 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.7781, allocations: 0.6637 MB / 0.6473 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.7798, allocations: 240.5 kB / 0.6476 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.795, allocations: 6.991 MB / 0.6544 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/0.7983, allocations: 2.272 MB / 0.6566 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002802/0.8011, allocations: 1.134 MB / 0.6577 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.8016, allocations: 147.4 kB / 0.6579 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.8016, allocations: 0 / 0.6579 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.04206/0.8437, allocations: 18.46 MB / 0.6759 GB, free: 10.32 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.410163007676601]