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.001911/0.001911, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.002351/0.002351, allocations: 209.1 kB / 23.74 MB, free: 4.445 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.523/1.523, allocations: 207.7 MB / 234.6 MB, free: 9.816 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.2314/0.2314, allocations: 44.25 MB / 331.1 MB, free: 9.332 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.002375/0.002375, allocations: 63.91 kB / 468.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1442, allocations: 61.05 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01462/0.1589, allocations: 11.01 MB / 0.5281 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009291/0.1681, allocations: 3.217 MB / 0.5313 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.171, allocations: 71.81 kB / 0.5313 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005583/0.1765, allocations: 2.578 MB / 0.5339 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.1813, allocations: 1.405 MB / 0.5352 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.1827, allocations: 351.3 kB / 0.5356 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006147/0.1888, allocations: 2.863 MB / 0.5384 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.312/0.5008, allocations: 2.441 MB / 0.5407 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.5034, allocations: 1.216 MB / 0.5419 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/0.5068, allocations: 1.638 MB / 0.5435 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.508, allocations: 298.9 kB / 0.5438 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.5101, allocations: 0.6928 MB / 0.5445 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.5125, allocations: 1.604 MB / 0.5461 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.515, allocations: 1.338 MB / 0.5474 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009861/0.5248, allocations: 6.043 MB / 0.5533 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5248, allocations: 1.375 kB / 0.5533 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5248, allocations: 0 / 0.5533 GB, free: 9.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002647/0.5251, allocations: 0 / 0.5533 GB, free: 9.109 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.01801/0.5431, allocations: 3.769 MB / 0.5569 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001092/0.5432, allocations: 8.688 kB / 0.557 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009129/0.5524, allocations: 1.739 MB / 0.5587 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/0.5584, allocations: 1.608 MB / 0.5602 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.5586, allocations: 202.7 kB / 0.5604 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000997/0.5596, allocations: 271.5 kB / 0.5607 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.5782, allocations: 8.367 MB / 0.5688 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.044e-05/0.5783, allocations: 15.78 kB / 0.5689 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/0.5787, allocations: 121.5 kB / 0.569 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002991/0.5817, allocations: 1.764 MB / 0.5707 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.5995, allocations: 7.03 MB / 0.5776 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05107/0.6506, allocations: 23.28 MB / 0.6003 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.6571, allocations: 1.995 MB / 0.6022 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.6591, allocations: 0.8881 MB / 0.6031 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.67, allocations: 3.769 MB / 0.6068 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.16e-05/0.6701, allocations: 52.14 kB / 0.6068 GB, free: 3.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 5.52e-06/0.6701, allocations: 0 / 0.6068 GB, free: 3.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.008269/0.6784, allocations: 2.725 MB / 0.6095 GB, free: 1.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.6784, allocations: 60.41 kB / 0.6096 GB, free: 1.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.6841, allocations: 2.181 MB / 0.6117 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.6844, allocations: 41.7 kB / 0.6117 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002836/0.6873, allocations: 2.42 MB / 0.6141 GB, free: 12.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009958/0.6883, allocations: 482.6 kB / 0.6146 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002264/0.6905, allocations: 0.7528 MB / 0.6153 GB, free: 11.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003124/0.6908, allocations: 353.9 kB / 0.6156 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/0.6934, allocations: 1.12 MB / 0.6167 GB, free: 9.793 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/0.6985, allocations: 3.291 MB / 0.6199 GB, free: 5.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007536/0.706, allocations: 4.82 MB / 0.6246 GB, free: 15.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/0.7061, allocations: 20 kB / 0.6247 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01076/0.7169, allocations: 4.324 MB / 0.6289 GB, free: 11.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.717, allocations: 36 kB / 0.6289 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/0.7172, allocations: 76 kB / 0.629 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.7174, allocations: 100 kB / 0.6291 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.7205, allocations: 0.8154 MB / 0.6299 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001809/0.7207, allocations: 147.4 kB / 0.63 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/0.7241, allocations: 492.4 kB / 0.6305 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007355/0.7248, allocations: 224 kB / 0.6307 GB, free: 9.941 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.004716/0.7296, allocations: 1.715 MB / 0.6324 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/0.7301, allocations: 190.7 kB / 0.6326 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.7337, allocations: 1.503 MB / 0.634 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.7337, allocations: 12 kB / 0.634 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.7337, allocations: 5.312 kB / 0.634 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.7337, allocations: 3.984 kB / 0.6341 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.7506, allocations: 6.011 MB / 0.6399 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.7506, allocations: 12 kB / 0.6399 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.7515, allocations: 191.6 kB / 0.6401 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.408e-05/0.7516, allocations: 20 kB / 0.6401 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.7517, allocations: 39.98 kB / 0.6402 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.553e-05/0.7518, allocations: 31.91 kB / 0.6402 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.039e-05/0.7518, allocations: 23.88 kB / 0.6402 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.7556, allocations: 1.981 MB / 0.6422 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.7564, allocations: 198.5 kB / 0.6423 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00058/0.757, allocations: 39.98 kB / 0.6424 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.7581, allocations: 43.97 kB / 0.6424 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.7583, allocations: 111.5 kB / 0.6425 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.7585, allocations: 61.23 kB / 0.6426 GB, free: 13.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003187/0.7617, allocations: 1.248 MB / 0.6438 GB, free: 12.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7617, allocations: 0 / 0.6438 GB, free: 12.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00572/0.7674, allocations: 0.9754 MB / 0.6448 GB, free: 11.13 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.000705/0.7681, allocations: 170.7 kB / 0.6449 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006008/0.7741, allocations: 2.541 MB / 0.6474 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/0.7741, allocations: 0 / 0.6474 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.7755, allocations: 0.6751 MB / 0.6481 GB, free: 7.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.7779, allocations: 241.8 kB / 0.6483 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/0.7981, allocations: 7.394 MB / 0.6555 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006441/0.8046, allocations: 2.285 MB / 0.6578 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/0.8054, allocations: 179.4 kB / 0.6579 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of SimCode: time 1.774e-06/0.8054, allocations: 0 / 0.6579 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.077/0.8824, allocations: 39.26 MB / 0.6963 GB, free: 6.145 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/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: 11.104045154992491]