Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001788/0.001788, allocations: 74.33 kB / 21.24 MB, free: 0.5469 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.002204/0.002204, allocations: 159 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 34.28 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 68.08 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 66 MB / 0.4972 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008692/0.3368, allocations: 8.918 MB / 0.5059 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.3423, allocations: 2.924 MB / 0.5088 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.3434, allocations: 60.28 kB / 0.5088 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.3471, allocations: 2.533 MB / 0.5113 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.3493, allocations: 1.216 MB / 0.5125 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.35, allocations: 356.1 kB / 0.5128 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.353, allocations: 2.54 MB / 0.5153 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.3555, allocations: 2.241 MB / 0.5175 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.3569, allocations: 1.067 MB / 0.5185 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.3588, allocations: 1.376 MB / 0.5199 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004842/0.3593, allocations: 250.9 kB / 0.5201 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3606, allocations: 0.6724 MB / 0.5208 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.362, allocations: 1.365 MB / 0.5221 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.3633, allocations: 1.14 MB / 0.5232 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007212/0.3705, allocations: 5.135 MB / 0.5282 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3705, allocations: 0.75 kB / 0.5282 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3705, allocations: 3.938 kB / 0.5283 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.3707, allocations: 1.438 kB / 0.5283 GB, free: 14.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.008263/0.379, allocations: 3.278 MB / 0.5315 GB, free: 12.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.379, allocations: 13.12 kB / 0.5315 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.3842, allocations: 1.642 MB / 0.5331 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.3874, allocations: 1.439 MB / 0.5345 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3875, allocations: 182.1 kB / 0.5347 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.388, allocations: 237.6 kB / 0.5349 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.4024, allocations: 7.126 MB / 0.5418 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.4025, allocations: 12.31 kB / 0.5418 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009324/0.4035, allocations: 104.1 kB / 0.5419 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.4062, allocations: 1.444 MB / 0.5434 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.4179, allocations: 5.95 MB / 0.5492 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.4538, allocations: 20.35 MB / 0.569 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.4587, allocations: 1.756 MB / 0.5708 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.4599, allocations: 0.7073 MB / 0.5714 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00746/0.4674, allocations: 3.326 MB / 0.5747 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.4674, allocations: 35.22 kB / 0.5747 GB, free: 5.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.747e-06/0.4674, allocations: 0 / 0.5747 GB, free: 5.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006917/0.4744, allocations: 2.398 MB / 0.5771 GB, free: 3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.4744, allocations: 64.05 kB / 0.5771 GB, free: 2.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.4789, allocations: 2.013 MB / 0.5791 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.479, allocations: 33.7 kB / 0.5791 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002169/0.4812, allocations: 2.118 MB / 0.5812 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005213/0.4817, allocations: 365.3 kB / 0.5815 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.483, allocations: 0.6473 MB / 0.5822 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.4833, allocations: 353.9 kB / 0.5825 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.4852, allocations: 0.9352 MB / 0.5834 GB, free: 12.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003652/0.4889, allocations: 2.872 MB / 0.5862 GB, free: 8.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005823/0.4947, allocations: 4.158 MB / 0.5903 GB, free: 3.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/0.4948, allocations: 23.94 kB / 0.5903 GB, free: 3.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007158/0.502, allocations: 3.699 MB / 0.5939 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.5021, allocations: 36 kB / 0.594 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.5022, allocations: 68 kB / 0.594 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.5023, allocations: 88 kB / 0.5941 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/0.5045, allocations: 0.6946 MB / 0.5948 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001222/0.5046, allocations: 131.5 kB / 0.5949 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.5069, allocations: 436.8 kB / 0.5953 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/0.5073, allocations: 196 kB / 0.5955 GB, free: 14.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (382): * Single equations (assignments): 377 * 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.003103/0.5104, allocations: 1.499 MB / 0.597 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.5108, allocations: 162.9 kB / 0.5971 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.5112, allocations: 205 kB / 0.5973 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.5112, allocations: 8 kB / 0.5973 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5112, allocations: 0 / 0.5973 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5113, allocations: 3.984 kB / 0.5973 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/0.5194, allocations: 3.788 MB / 0.601 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.5194, allocations: 12.22 kB / 0.6011 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.5199, allocations: 119.8 kB / 0.6012 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.5199, allocations: 11.94 kB / 0.6012 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.52, allocations: 27.94 kB / 0.6012 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.52, allocations: 15.92 kB / 0.6012 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/0.52, allocations: 15.94 kB / 0.6012 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.5219, allocations: 1.39 MB / 0.6026 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.5224, allocations: 166.7 kB / 0.6028 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.5226, allocations: 27.94 kB / 0.6028 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.5232, allocations: 31.97 kB / 0.6028 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5233, allocations: 67.73 kB / 0.6029 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/0.5233, allocations: 35.98 kB / 0.6029 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001909/0.5253, allocations: 1.159 MB / 0.604 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5253, allocations: 0 / 0.604 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003172/0.5284, allocations: 0.8133 MB / 0.6048 GB, free: 4.285 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003488/0.5288, allocations: 143.5 kB / 0.605 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.5322, allocations: 2.094 MB / 0.607 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5322, allocations: 0 / 0.607 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.5328, allocations: 477.1 kB / 0.6075 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.534, allocations: 220.1 kB / 0.6077 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.5453, allocations: 5.76 MB / 0.6133 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/0.5487, allocations: 1.957 MB / 0.6152 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002533/0.5512, allocations: 0.9905 MB / 0.6162 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.5517, allocations: 120.5 kB / 0.6163 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.5517, allocations: 0 / 0.6163 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.03237/0.584, allocations: 12.72 MB / 0.6287 GB, free: 11.85 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.544418181059882]