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.001063/0.001063, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001513/0.001513, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9966/0.9966, allocations: 177 MB / 204.8 MB, free: 5.148 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.2621/0.2621, allocations: 34.86 MB / 296.3 MB, free: 0.5 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.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.83e-05, allocations: 6.25 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01203/0.01206, allocations: 14.45 MB / 393.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008536/0.02059, allocations: 4.991 MB / 398.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.02292, allocations: 139.3 kB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006907/0.02982, allocations: 6.434 MB / 404.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.0358, allocations: 2.912 MB / 407.7 MB, free: 5.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.03853, allocations: 1.793 MB / 409.5 MB, free: 3.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.04965, allocations: 9.132 MB / 418.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008795/0.05844, allocations: 6.584 MB / 425.2 MB, free: 3.434 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008173/0.06662, allocations: 4.503 MB / 429.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006533/0.07315, allocations: 4.451 MB / 434.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.07487, allocations: 0.5859 MB / 434.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.07766, allocations: 1.362 MB / 436.1 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003782/0.08144, allocations: 3.83 MB / 439.9 MB, free: 4.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004086/0.08553, allocations: 2.294 MB / 442.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1908/0.2763, allocations: 7.583 MB / 449.8 MB, free: 66.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2763, allocations: 0 / 449.8 MB, free: 66.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2763, allocations: 0 / 449.8 MB, free: 66.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004337/0.2767, allocations: 2.844 kB / 449.8 MB, free: 66.82 MB / 410.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.01402/0.2908, allocations: 9.303 MB / 459.1 MB, free: 63.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2908, allocations: 9.844 kB / 459.1 MB, free: 63.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006387/0.2972, allocations: 3.339 MB / 462.5 MB, free: 62.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005999/0.3032, allocations: 4.069 MB / 466.5 MB, free: 62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.3034, allocations: 416.6 kB / 466.9 MB, free: 61.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009953/0.3044, allocations: 0.5424 MB / 467.5 MB, free: 61.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.3231, allocations: 10.4 MB / 477.9 MB, free: 57.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.3234, allocations: 70.8 kB / 477.9 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000727/0.3242, allocations: 260.6 kB / 478.2 MB, free: 57.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00348/0.3276, allocations: 2.93 MB / 481.1 MB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.3458, allocations: 5.234 MB / 486.4 MB, free: 56.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06026/0.4061, allocations: 72.18 MB / 0.5454 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008265/0.4143, allocations: 3.467 MB / 0.5488 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.4159, allocations: 0.776 MB / 0.5496 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009864/0.4257, allocations: 6.314 MB / 0.5557 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4258, allocations: 58.27 kB / 0.5558 GB, free: 6.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.799e-06/0.4258, allocations: 0 / 0.5558 GB, free: 6.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02436/0.4501, allocations: 13.09 MB / 0.5686 GB, free: 9.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.4502, allocations: 161 kB / 0.5687 GB, free: 8.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006476/0.4567, allocations: 5.517 MB / 0.5741 GB, free: 3.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.457, allocations: 61.7 kB / 0.5742 GB, free: 3.305 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003043/0.46, allocations: 5.496 MB / 0.5796 GB, free: 13.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.4612, allocations: 0.8778 MB / 0.5804 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.4629, allocations: 1.819 MB / 0.5822 GB, free: 11.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.463, allocations: 476.8 kB / 0.5826 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4643, allocations: 0.7892 MB / 0.5834 GB, free: 9.879 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005422/0.4698, allocations: 8.69 MB / 0.5919 GB, free: 13.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1908/0.6606, allocations: 10.48 MB / 0.6021 GB, free: 132 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002744/0.6609, allocations: 54.16 kB / 0.6022 GB, free: 132 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01372/0.6746, allocations: 7.061 MB / 0.6091 GB, free: 131.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.6747, allocations: 87.53 kB / 0.6092 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/0.6749, allocations: 188.2 kB / 0.6093 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.6751, allocations: 252.2 kB / 0.6096 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/0.6798, allocations: 1.935 MB / 0.6115 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003231/0.6801, allocations: 375.9 kB / 0.6118 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/0.6857, allocations: 0.6257 MB / 0.6124 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003636/0.6893, allocations: 0.5165 MB / 0.6129 GB, free: 130.8 MB / 474.7 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.002478/0.6918, allocations: 0.8644 MB / 0.6138 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003912/0.6957, allocations: 0.5625 MB / 0.6143 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006493/0.6964, allocations: 495.9 kB / 0.6148 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.6964, allocations: 22.84 kB / 0.6148 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.6964, allocations: 0 / 0.6148 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6964, allocations: 10.03 kB / 0.6148 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.7101, allocations: 10.17 MB / 0.6248 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.54e-05/0.7102, allocations: 47.06 kB / 0.6248 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.7112, allocations: 459 kB / 0.6253 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.775e-05/0.7112, allocations: 63.38 kB / 0.6253 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.7114, allocations: 100.3 kB / 0.6254 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.878e-05/0.7114, allocations: 91.17 kB / 0.6255 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.754e-05/0.7115, allocations: 71.5 kB / 0.6256 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.715, allocations: 4.106 MB / 0.6296 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.7162, allocations: 0.598 MB / 0.6302 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/0.7167, allocations: 111.2 kB / 0.6303 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.7181, allocations: 236.6 kB / 0.6305 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.7184, allocations: 313.7 kB / 0.6308 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.7185, allocations: 129.6 kB / 0.6309 GB, free: 123.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003539/0.7221, allocations: 2.413 MB / 0.6333 GB, free: 123.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7221, allocations: 2.594 kB / 0.6333 GB, free: 123.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006088/0.7282, allocations: 1.489 MB / 0.6347 GB, free: 123.4 MB / 474.7 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.0005441/0.7287, allocations: 288 kB / 0.635 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004989/0.7337, allocations: 3.674 MB / 0.6386 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/0.7337, allocations: 11.22 kB / 0.6386 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.7346, allocations: 0.7497 MB / 0.6393 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.738, allocations: 0.8242 MB / 0.6401 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.7546, allocations: 13.74 MB / 0.6536 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/0.7569, allocations: 2.099 MB / 0.6556 GB, free: 111 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004379/0.7612, allocations: 2.203 MB / 0.6578 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/0.762, allocations: 349.2 kB / 0.6581 GB, free: 109.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/0.762, allocations: 7.938 kB / 0.6581 GB, free: 109.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05549/0.8175, allocations: 33.66 MB / 0.691 GB, free: 80.92 MB / 474.7 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: 5.2282668319530785]