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.001674/0.001674, allocations: 89.38 kB / 20.69 MB, free: 1.02 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.001969/0.001969, allocations: 159 kB / 23.95 MB, free: 4.148 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.172 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.2164/0.2164, allocations: 34.26 MB / 294.8 MB, free: 14.54 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 2.114e-06/2.114e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.912e-05, allocations: 2.281 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2236/0.2236, allocations: 8.915 MB / 451.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006923/0.2305, allocations: 2.934 MB / 454.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.2331, allocations: 63.94 kB / 454.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008202/0.2413, allocations: 2.663 MB / 457.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.2473, allocations: 1.256 MB / 458.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.249, allocations: 374.2 kB / 458.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006538/0.2555, allocations: 2.583 MB / 461.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00646/0.262, allocations: 2.255 MB / 463.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.2671, allocations: 1.543 MB / 465.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004153/0.2712, allocations: 1.343 MB / 466.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.2724, allocations: 251 kB / 466.8 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.2757, allocations: 0.6965 MB / 467.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.2782, allocations: 1.417 MB / 468.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.2816, allocations: 0.8727 MB / 469.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.2925, allocations: 5.087 MB / 474.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2925, allocations: 0 / 474.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2925, allocations: 0 / 474.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003013/0.2929, allocations: 1.156 kB / 474.9 MB, free: 3.277 MB / 366.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.01409/0.3069, allocations: 3.245 MB / 478.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.307, allocations: 9.5 kB / 478.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.318, allocations: 1.642 MB / 479.8 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006756/0.3248, allocations: 1.445 MB / 481.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.325, allocations: 178.4 kB / 481.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.3263, allocations: 231.6 kB / 481.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.3447, allocations: 7.13 MB / 488.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.928e-05/0.3448, allocations: 15.81 kB / 488.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007263/0.3455, allocations: 103.9 kB / 488.9 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.3481, allocations: 1.447 MB / 490.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.3621, allocations: 5.949 MB / 496.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.4008, allocations: 20.31 MB / 0.5045 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005231/0.406, allocations: 1.767 MB / 0.5062 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.4072, allocations: 0.7034 MB / 0.5069 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007499/0.4147, allocations: 3.305 MB / 0.5101 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.4148, allocations: 43.16 kB / 0.5102 GB, free: 5.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=87): time 3.977e-06/0.4148, allocations: 0 / 0.5102 GB, free: 5.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=87): time 0.007169/0.422, allocations: 2.398 MB / 0.5125 GB, free: 2.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.422, allocations: 60 kB / 0.5126 GB, free: 2.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.4263, allocations: 2.017 MB / 0.5145 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.4264, allocations: 33.7 kB / 0.5146 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.4284, allocations: 2.11 MB / 0.5166 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.4288, allocations: 353.3 kB / 0.517 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.43, allocations: 0.6473 MB / 0.5176 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.4303, allocations: 349.9 kB / 0.5179 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.4321, allocations: 0.9352 MB / 0.5188 GB, free: 12.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/0.4365, allocations: 2.864 MB / 0.5216 GB, free: 8.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005658/0.4422, allocations: 4.16 MB / 0.5257 GB, free: 3.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.649e-05/0.4423, allocations: 20 kB / 0.5257 GB, free: 3.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006587/0.4489, allocations: 3.697 MB / 0.5293 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.541e-05/0.4489, allocations: 40.69 kB / 0.5294 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.449, allocations: 68 kB / 0.5294 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.4492, allocations: 92 kB / 0.5295 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.4513, allocations: 0.6901 MB / 0.5302 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001371/0.4515, allocations: 135.5 kB / 0.5303 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.4537, allocations: 432.8 kB / 0.5307 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.4541, allocations: 196 kB / 0.5309 GB, free: 13.92 MB / 446.1 MB 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.003191/0.4573, allocations: 1.495 MB / 0.5324 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.4577, allocations: 170.8 kB / 0.5325 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.4581, allocations: 197 kB / 0.5327 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.4581, allocations: 12 kB / 0.5327 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.4581, allocations: 4 kB / 0.5327 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4581, allocations: 3.984 kB / 0.5327 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008923/0.4671, allocations: 3.789 MB / 0.5364 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/0.4671, allocations: 12 kB / 0.5365 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.4676, allocations: 115.8 kB / 0.5366 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/0.4676, allocations: 15.94 kB / 0.5366 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.4677, allocations: 23.98 kB / 0.5366 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.4677, allocations: 12 kB / 0.5366 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.4677, allocations: 15.88 kB / 0.5366 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.4697, allocations: 1.379 MB / 0.538 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/0.4702, allocations: 158.7 kB / 0.5381 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.4705, allocations: 23.98 kB / 0.5382 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.4712, allocations: 27.98 kB / 0.5382 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.4713, allocations: 79.62 kB / 0.5383 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.4714, allocations: 32 kB / 0.5383 GB, free: 6.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002096/0.4735, allocations: 1.163 MB / 0.5394 GB, free: 4.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4735, allocations: 4 kB / 0.5394 GB, free: 4.914 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00375/0.4773, allocations: 0.8133 MB / 0.5402 GB, free: 4.098 MB / 446.1 MB 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.0004324/0.4777, allocations: 142.9 kB / 0.5404 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.4816, allocations: 2.08 MB / 0.5424 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.4817, allocations: 0 / 0.5424 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.4824, allocations: 486.4 kB / 0.5428 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.484, allocations: 213.4 kB / 0.5431 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.4977, allocations: 5.741 MB / 0.5487 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004351/0.5021, allocations: 1.957 MB / 0.5506 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002676/0.5048, allocations: 0.9866 MB / 0.5515 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/0.5053, allocations: 132.4 kB / 0.5517 GB, free: 8.223 MB / 462.1 MB Notification: Performance of SimCode: time 1.684e-06/0.5053, allocations: 0 / 0.5517 GB, free: 8.223 MB / 462.1 MB Notification: Performance of Templates: time 0.03293/0.5382, allocations: 12.69 MB / 0.5641 GB, free: 11.73 MB / 478.1 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/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.653507921844721]