Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.002133/0.002133, allocations: 214.2 kB / 23.73 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.574/1.574, allocations: 230.5 MB / 257.4 MB, free: 7.82 MB / 206.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.2322/0.2322, allocations: 46.95 MB / 360.8 MB, free: 4.074 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003212/0.003212, allocations: 79.88 kB / 0.4966 GB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4427, allocations: 66.08 MB / 0.5612 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0128/0.4555, allocations: 8.399 MB / 0.5694 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.4623, allocations: 2.791 MB / 0.5721 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.4639, allocations: 55.81 kB / 0.5721 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.4684, allocations: 1.939 MB / 0.574 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.4717, allocations: 1.133 MB / 0.5751 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.4726, allocations: 295.4 kB / 0.5754 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003818/0.4765, allocations: 2.321 MB / 0.5777 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.4799, allocations: 1.73 MB / 0.5794 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.4823, allocations: 0.8957 MB / 0.5803 GB, free: 376 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.4846, allocations: 1.176 MB / 0.5814 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006239/0.4852, allocations: 196 kB / 0.5816 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.487, allocations: 0.6046 MB / 0.5822 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.4886, allocations: 1.137 MB / 0.5833 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.4904, allocations: 0.9471 MB / 0.5842 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.4959, allocations: 4.346 MB / 0.5885 GB, free: 7.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4959, allocations: 0 / 0.5885 GB, free: 7.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4959, allocations: 0 / 0.5885 GB, free: 7.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.496, allocations: 0 / 0.5885 GB, free: 7.934 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00622/0.5022, allocations: 2.862 MB / 0.5913 GB, free: 5.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5023, allocations: 12.03 kB / 0.5913 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.5074, allocations: 1.574 MB / 0.5928 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0036/0.511, allocations: 1.283 MB / 0.5941 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.5112, allocations: 144 kB / 0.5942 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.5115, allocations: 187.8 kB / 0.5944 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.5219, allocations: 6.254 MB / 0.6005 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.5219, allocations: 15.81 kB / 0.6005 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.5221, allocations: 91.91 kB / 0.6006 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.5243, allocations: 1.34 MB / 0.6019 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.5344, allocations: 5.325 MB / 0.6071 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.5629, allocations: 18.29 MB / 0.625 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004351/0.5673, allocations: 1.485 MB / 0.6264 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5684, allocations: 0.6406 MB / 0.627 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007007/0.5754, allocations: 3.009 MB / 0.63 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.5754, allocations: 42.94 kB / 0.63 GB, free: 12.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.848e-06/0.5754, allocations: 0 / 0.63 GB, free: 12.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005701/0.5811, allocations: 1.971 MB / 0.6319 GB, free: 10.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.5812, allocations: 63.84 kB / 0.632 GB, free: 10.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.5849, allocations: 1.939 MB / 0.6339 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.585, allocations: 37.69 kB / 0.6339 GB, free: 8.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.5869, allocations: 1.923 MB / 0.6358 GB, free: 6.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.5873, allocations: 325.5 kB / 0.6361 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009826/0.5883, allocations: 0.6156 MB / 0.6367 GB, free: 5.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5885, allocations: 353.9 kB / 0.6371 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5899, allocations: 0.8842 MB / 0.6379 GB, free: 4.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00309/0.593, allocations: 2.755 MB / 0.6406 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005/0.598, allocations: 3.966 MB / 0.6445 GB, free: 11.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.362e-05/0.5981, allocations: 20 kB / 0.6445 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005956/0.604, allocations: 3.525 MB / 0.6479 GB, free: 8.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.6041, allocations: 36.22 kB / 0.648 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.029e-05/0.6042, allocations: 72 kB / 0.648 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.441e-05/0.6043, allocations: 88 kB / 0.6481 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.6061, allocations: 0.6511 MB / 0.6488 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001133/0.6063, allocations: 131.4 kB / 0.6489 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.6081, allocations: 416.9 kB / 0.6493 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.6083, allocations: 188 kB / 0.6495 GB, free: 6.527 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.002083/0.6104, allocations: 1.346 MB / 0.6508 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.6107, allocations: 154.9 kB / 0.6509 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.611, allocations: 188 kB / 0.6511 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.611, allocations: 15.98 kB / 0.6511 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.611, allocations: 3.938 kB / 0.6511 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.611, allocations: 0 / 0.6511 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.6165, allocations: 3.062 MB / 0.6541 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.6165, allocations: 12.03 kB / 0.6541 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.617, allocations: 103.8 kB / 0.6542 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.617, allocations: 11.94 kB / 0.6542 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.617, allocations: 16 kB / 0.6543 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.617, allocations: 27.84 kB / 0.6543 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.617, allocations: 7.938 kB / 0.6543 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.6186, allocations: 1.249 MB / 0.6555 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.619, allocations: 150.8 kB / 0.6557 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.6191, allocations: 27.88 kB / 0.6557 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.6196, allocations: 27.97 kB / 0.6557 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6197, allocations: 59.8 kB / 0.6558 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.6198, allocations: 24 kB / 0.6558 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001641/0.6214, allocations: 1.114 MB / 0.6569 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6214, allocations: 0 / 0.6569 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002617/0.624, allocations: 0.7084 MB / 0.6576 GB, free: 13.99 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003384/0.6244, allocations: 146.9 kB / 0.6577 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003223/0.6276, allocations: 1.955 MB / 0.6596 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.6276, allocations: 0 / 0.6596 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.6282, allocations: 438.7 kB / 0.66 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6293, allocations: 195.4 kB / 0.6602 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/0.6384, allocations: 5.099 MB / 0.6652 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/0.641, allocations: 1.7 MB / 0.6669 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002361/0.6433, allocations: 0.9467 MB / 0.6678 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.6436, allocations: 111.4 kB / 0.6679 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.6436, allocations: 0 / 0.6679 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.03035/0.674, allocations: 14.12 MB / 0.6817 GB, free: 5.312 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.885659830644727]