Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.0009936/0.0009936, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009713/0.0009713, allocations: 161.7 kB / 24.91 MB, free: 8.68 MB / 18.57 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 0.8865/0.8865, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.2841/0.2841, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.338e-05, allocations: 2.859 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01061/0.01063, allocations: 14.08 MB / 340 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009409/0.02004, allocations: 5.162 MB / 345.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.02268, allocations: 143.3 kB / 345.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006666/0.02935, allocations: 6.421 MB / 351.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00566/0.03501, allocations: 2.928 MB / 354.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.03771, allocations: 1.797 MB / 356.4 MB, free: 8.531 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009467/0.04717, allocations: 9.089 MB / 365.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008584/0.05576, allocations: 6.749 MB / 372.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008147/0.0639, allocations: 4.542 MB / 376.8 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005665/0.06957, allocations: 4.26 MB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.07134, allocations: 0.5898 MB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.07422, allocations: 1.358 MB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003915/0.07814, allocations: 3.826 MB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003802/0.08194, allocations: 2.282 MB / 389.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.09032, allocations: 7.593 MB / 396.7 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.09033, allocations: 4 kB / 396.7 MB, free: 40 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09033, allocations: 0 / 396.7 MB, free: 40 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003663/0.09069, allocations: 0 / 396.7 MB, free: 40 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.00978/0.1005, allocations: 7.811 MB / 404.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1005, allocations: 8.031 kB / 404.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.1044, allocations: 1.651 MB / 406.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004983/0.1093, allocations: 3.65 MB / 409.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.1096, allocations: 415 kB / 410.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007179/0.1103, allocations: 0.5352 MB / 410.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.1222, allocations: 8.297 MB / 419.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.1223, allocations: 67.39 kB / 419.2 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001812/0.1241, allocations: 263.8 kB / 419.4 MB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.1265, allocations: 2.674 MB / 422.1 MB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/0.1342, allocations: 4.074 MB / 426.2 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2904/0.4246, allocations: 51.08 MB / 477.2 MB, free: 71.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.4311, allocations: 3.064 MB / 480.3 MB, free: 70.2 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/0.4319, allocations: 0.5217 MB / 480.8 MB, free: 69.67 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007566/0.4395, allocations: 5.67 MB / 486.5 MB, free: 64.28 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4395, allocations: 51.7 kB / 486.5 MB, free: 64.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 4.288e-06/0.4395, allocations: 0 / 486.5 MB, free: 64.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01553/0.455, allocations: 7.202 MB / 493.7 MB, free: 57.72 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4551, allocations: 149.8 kB / 493.9 MB, free: 57.54 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.4588, allocations: 4.944 MB / 498.8 MB, free: 53.04 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.459, allocations: 61.7 kB / 498.9 MB, free: 52.98 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.4604, allocations: 4.835 MB / 0.4919 GB, free: 48.32 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004656/0.4609, allocations: 0.8451 MB / 0.4927 GB, free: 47.47 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009257/0.4618, allocations: 1.589 MB / 0.4943 GB, free: 45.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.782e-05/0.4619, allocations: 309.1 kB / 0.4946 GB, free: 45.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4631, allocations: 0.9498 MB / 0.4955 GB, free: 44.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.4653, allocations: 6.127 MB / 0.5015 GB, free: 35.9 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/0.4694, allocations: 7.96 MB / 0.5093 GB, free: 25.46 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.458e-05/0.4694, allocations: 56 kB / 0.5093 GB, free: 25.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.005479/0.4749, allocations: 5.667 MB / 0.5149 GB, free: 19.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.475, allocations: 84 kB / 0.5149 GB, free: 19.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.4751, allocations: 192 kB / 0.5151 GB, free: 19.44 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.4752, allocations: 248 kB / 0.5154 GB, free: 19.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/0.478, allocations: 1.888 MB / 0.5172 GB, free: 17.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.4781, allocations: 377.7 kB / 0.5176 GB, free: 16.94 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/0.482, allocations: 367.7 kB / 0.5179 GB, free: 16.58 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/0.4823, allocations: 456 kB / 0.5184 GB, free: 16.14 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001957/0.4843, allocations: 0.8241 MB / 0.5192 GB, free: 15.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.4849, allocations: 323.6 kB / 0.5195 GB, free: 14.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.4854, allocations: 494 kB / 0.5199 GB, free: 14.49 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/0.4854, allocations: 27.42 kB / 0.52 GB, free: 14.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4854, allocations: 4 kB / 0.52 GB, free: 14.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4854, allocations: 7.969 kB / 0.52 GB, free: 14.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009127/0.4946, allocations: 8.695 MB / 0.5285 GB, free: 4.953 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/0.4946, allocations: 51.98 kB / 0.5285 GB, free: 4.902 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.4953, allocations: 435.1 kB / 0.5289 GB, free: 4.477 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.538e-05/0.4954, allocations: 64.06 kB / 0.529 GB, free: 4.414 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.4954, allocations: 96 kB / 0.5291 GB, free: 4.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-05/0.4955, allocations: 91.64 kB / 0.5292 GB, free: 4.23 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.122e-05/0.4955, allocations: 75.62 kB / 0.5292 GB, free: 4.156 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.4977, allocations: 3.319 MB / 0.5325 GB, free: 20 kB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.4987, allocations: 0.5665 MB / 0.533 GB, free: 15.45 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.4991, allocations: 104 kB / 0.5331 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.5003, allocations: 95.98 kB / 0.5332 GB, free: 15.25 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.5005, allocations: 314.4 kB / 0.5335 GB, free: 14.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.5006, allocations: 116 kB / 0.5336 GB, free: 14.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002215/0.5028, allocations: 2.148 MB / 0.5357 GB, free: 12.71 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5028, allocations: 0 / 0.5357 GB, free: 12.71 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005329/0.5081, allocations: 1.5 MB / 0.5372 GB, free: 11.21 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0004326/0.5085, allocations: 270.8 kB / 0.5375 GB, free: 10.93 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.5126, allocations: 3.287 MB / 0.5407 GB, free: 7.668 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002399/0.5129, allocations: 129.4 kB / 0.5408 GB, free: 7.535 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.5137, allocations: 0.6678 MB / 0.5414 GB, free: 6.871 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/0.5172, allocations: 0.8233 MB / 0.5422 GB, free: 6.082 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.5346, allocations: 13.67 MB / 0.5556 GB, free: 7.59 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/0.5373, allocations: 2.098 MB / 0.5576 GB, free: 5.465 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00217/0.5394, allocations: 0.7631 MB / 0.5584 GB, free: 4.699 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.5406, allocations: 0.8213 MB / 0.5592 GB, free: 3.875 MB / 442.8 MB Notification: Performance of SimCode: time 1.803e-06/0.5406, allocations: 0 / 0.5592 GB, free: 3.875 MB / 442.8 MB Notification: Performance of Templates: time 0.06573/0.6063, allocations: 37.77 MB / 0.5961 GB, free: 14.56 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.679738563019782]