Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 177.1 MB / 204.7 MB, free: 8.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 34.26 MB / 295.4 MB, free: 14.45 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 79.88 kB / 443.1 MB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3313, allocations: 66.05 MB / 0.4973 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008663/0.34, allocations: 8.914 MB / 0.506 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005921/0.3459, allocations: 2.934 MB / 0.5088 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.3472, allocations: 60.28 kB / 0.5089 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.3523, allocations: 2.533 MB / 0.5114 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.3557, allocations: 1.209 MB / 0.5125 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3569, allocations: 352.4 kB / 0.5129 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004489/0.3614, allocations: 2.535 MB / 0.5154 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.3651, allocations: 2.24 MB / 0.5175 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.3671, allocations: 1.062 MB / 0.5186 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.3699, allocations: 1.385 MB / 0.5199 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008769/0.3708, allocations: 251.1 kB / 0.5202 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.3728, allocations: 0.6717 MB / 0.5208 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001936/0.3747, allocations: 1.361 MB / 0.5222 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.3765, allocations: 1.136 MB / 0.5233 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008856/0.3853, allocations: 5.147 MB / 0.5283 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.3854, allocations: 4 kB / 0.5283 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.3854, allocations: 0 / 0.5283 GB, free: 14.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001866/0.3855, allocations: 1.031 kB / 0.5283 GB, free: 14.16 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.01112/0.3967, allocations: 3.272 MB / 0.5315 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3967, allocations: 9.531 kB / 0.5315 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/0.4018, allocations: 1.65 MB / 0.5331 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.4052, allocations: 1.446 MB / 0.5345 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.4054, allocations: 178.5 kB / 0.5347 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006126/0.406, allocations: 235.2 kB / 0.5349 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.418, allocations: 7.116 MB / 0.5419 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/0.4181, allocations: 13.62 kB / 0.5419 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/0.4184, allocations: 111.7 kB / 0.542 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002166/0.4205, allocations: 1.451 MB / 0.5434 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009044/0.4296, allocations: 5.946 MB / 0.5492 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/0.4596, allocations: 20.34 MB / 0.5691 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004715/0.4643, allocations: 1.76 MB / 0.5708 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.4654, allocations: 0.7034 MB / 0.5715 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006665/0.4721, allocations: 3.318 MB / 0.5747 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.4721, allocations: 43.22 kB / 0.5748 GB, free: 5.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.4721, allocations: 0 / 0.5748 GB, free: 5.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006566/0.4787, allocations: 2.398 MB / 0.5771 GB, free: 2.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.4787, allocations: 64.05 kB / 0.5772 GB, free: 2.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.4819, allocations: 2.013 MB / 0.5791 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.4819, allocations: 37.7 kB / 0.5792 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.4836, allocations: 2.122 MB / 0.5812 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.484, allocations: 357.3 kB / 0.5816 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009605/0.485, allocations: 0.6551 MB / 0.5822 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4851, allocations: 349.9 kB / 0.5826 GB, free: 13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.4866, allocations: 0.9313 MB / 0.5835 GB, free: 12.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.4898, allocations: 2.868 MB / 0.5863 GB, free: 8.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004984/0.4948, allocations: 4.156 MB / 0.5903 GB, free: 3.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-05/0.4948, allocations: 23.75 kB / 0.5904 GB, free: 3.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006366/0.5012, allocations: 3.704 MB / 0.594 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.5013, allocations: 32 kB / 0.594 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.742e-05/0.5014, allocations: 68 kB / 0.5941 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.5015, allocations: 92 kB / 0.5942 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.5036, allocations: 0.6862 MB / 0.5948 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001209/0.5038, allocations: 139.4 kB / 0.595 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.5059, allocations: 432.8 kB / 0.5954 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/0.5063, allocations: 196 kB / 0.5956 GB, free: 13.75 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.002942/0.5092, allocations: 1.515 MB / 0.597 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.5096, allocations: 162.9 kB / 0.5972 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.51, allocations: 204.9 kB / 0.5974 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.5101, allocations: 12 kB / 0.5974 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.5101, allocations: 0 / 0.5974 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.5101, allocations: 0 / 0.5974 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008883/0.519, allocations: 3.8 MB / 0.6011 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.519, allocations: 4 kB / 0.6011 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.5195, allocations: 119.8 kB / 0.6012 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/0.5195, allocations: 15.94 kB / 0.6012 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.5196, allocations: 20.69 kB / 0.6013 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.5196, allocations: 19.92 kB / 0.6013 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.5196, allocations: 15.94 kB / 0.6013 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.5216, allocations: 1.386 MB / 0.6026 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00054/0.5222, allocations: 166.7 kB / 0.6028 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.5225, allocations: 20 kB / 0.6028 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.5231, allocations: 31.97 kB / 0.6029 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5233, allocations: 71.8 kB / 0.6029 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.5233, allocations: 39.92 kB / 0.603 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002119/0.5255, allocations: 1.151 MB / 0.6041 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5255, allocations: 0 / 0.6041 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003345/0.5288, allocations: 0.8133 MB / 0.6049 GB, free: 3.918 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.0004297/0.5292, allocations: 142.9 kB / 0.605 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003935/0.5332, allocations: 2.084 MB / 0.6071 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.5332, allocations: 0 / 0.6071 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.5339, allocations: 482.2 kB / 0.6075 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.5356, allocations: 227.6 kB / 0.6077 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.5482, allocations: 5.763 MB / 0.6134 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/0.5519, allocations: 1.957 MB / 0.6153 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002503/0.5544, allocations: 0.9905 MB / 0.6162 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.5548, allocations: 124.5 kB / 0.6164 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of SimCode: time 1.472e-06/0.5548, allocations: 0 / 0.6164 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of Templates: time 0.02818/0.583, allocations: 12.73 MB / 0.6288 GB, free: 11.47 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.5100490669719875]