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.001051/0.001051, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002516, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001053/0.001053, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.00243, allocations: 467.5 kB / 11.72 MB, free: 2.449 MB / 13.93 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.9335/0.9335, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09127/1.025, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.2461/0.2461, allocations: 34.87 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02186/0.2679, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.694e-05, allocations: 2.312 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00693/0.006947, allocations: 9.121 MB / 303 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.01165, allocations: 2.982 MB / 306 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/0.01235, allocations: 55.81 kB / 306 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.01428, allocations: 2.04 MB / 308 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.0158, allocations: 1.159 MB / 309.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.01621, allocations: 303.2 kB / 309.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.01786, allocations: 2.209 MB / 311.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.0191, allocations: 1.774 MB / 313.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.01995, allocations: 1.344 MB / 314.8 MB, free: 96 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008081/0.02076, allocations: 1.118 MB / 315.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.02092, allocations: 192 kB / 316.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.02177, allocations: 0.6552 MB / 316.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.02232, allocations: 1.068 MB / 317.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.02274, allocations: 0.5919 MB / 318.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.02435, allocations: 2.549 MB / 321 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.02436, allocations: 0 / 321 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.02436, allocations: 0 / 321 MB, free: 9.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.02439, allocations: 3.938 kB / 321 MB, free: 9.902 MB / 314.7 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.002654/0.02704, allocations: 3.249 MB / 324.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.02707, allocations: 8.922 kB / 324.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.02865, allocations: 0.7499 MB / 325 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009896/0.02964, allocations: 1.049 MB / 326.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.0297, allocations: 144 kB / 326.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.0299, allocations: 184.3 kB / 326.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.03256, allocations: 2.844 MB / 329.2 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.03259, allocations: 15.88 kB / 329.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.03273, allocations: 95.89 kB / 329.3 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009476/0.03368, allocations: 1.2 MB / 330.5 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.03572, allocations: 1.517 MB / 332.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.04631, allocations: 15.3 MB / 347.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.04782, allocations: 0.8652 MB / 348.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.04801, allocations: 152.8 kB / 348.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/0.05045, allocations: 2.181 MB / 350.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.05047, allocations: 39.06 kB / 350.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.683e-06/0.05048, allocations: 4 kB / 350.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002038/0.05251, allocations: 1.058 MB / 351.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.05254, allocations: 59.91 kB / 351.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.05351, allocations: 1.428 MB / 353.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.05354, allocations: 41.64 kB / 353.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006405/0.05418, allocations: 1.842 MB / 355 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.05432, allocations: 317.5 kB / 355.3 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.05471, allocations: 0.5723 MB / 355.9 MB, free: 5.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.05479, allocations: 353.8 kB / 356.2 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.05509, allocations: 310.2 kB / 356.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.05624, allocations: 2.087 MB / 358.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.05779, allocations: 2.749 MB / 361.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/0.0578, allocations: 24 kB / 361.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001634/0.05944, allocations: 1.952 MB / 363.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.05947, allocations: 36 kB / 363.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.0595, allocations: 64 kB / 363.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.552e-05/0.05955, allocations: 92.06 kB / 363.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.06058, allocations: 0.7175 MB / 364.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.046e-05/0.06064, allocations: 127.5 kB / 364.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.0614, allocations: 404.8 kB / 364.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/0.06172, allocations: 168 kB / 365 MB, free: 10.98 MB / 362.7 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.0004163/0.06213, allocations: 373.6 kB / 365.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.06222, allocations: 83.91 kB / 365.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.06236, allocations: 160 kB / 365.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.06237, allocations: 11.98 kB / 365.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.06238, allocations: 3.984 kB / 365.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.06238, allocations: 0 / 365.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.06435, allocations: 2.257 MB / 367.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.06435, allocations: 8.125 kB / 367.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.06458, allocations: 107.8 kB / 367.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.0647, allocations: 150.7 kB / 368.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.0647, allocations: 8 kB / 368.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.06473, allocations: 27.98 kB / 368.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.06474, allocations: 15.88 kB / 368.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.06475, allocations: 8 kB / 368.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.06521, allocations: 0.6487 MB / 368.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.06529, allocations: 16 kB / 368.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.06547, allocations: 16 kB / 368.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.06553, allocations: 59.73 kB / 368.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.06556, allocations: 27.98 kB / 368.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003807/0.06594, allocations: 0.5448 MB / 369.5 MB, free: 6.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06594, allocations: 7.938 kB / 369.5 MB, free: 6.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001296/0.06724, allocations: 0.7045 MB / 370.2 MB, free: 5.523 MB / 362.7 MB 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.0002261/0.06747, allocations: 124.2 kB / 370.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.06838, allocations: 1.108 MB / 371.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.288e-05/0.06846, allocations: 55.92 kB / 371.5 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.06861, allocations: 161.4 kB / 371.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.06925, allocations: 302.1 kB / 371.9 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.07458, allocations: 4.609 MB / 376.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.07518, allocations: 0.7579 MB / 377.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000506/0.07568, allocations: 248.5 kB / 377.5 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.07598, allocations: 271.3 kB / 377.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.07598, allocations: 0 / 377.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of Templates: time 0.0203/0.09628, allocations: 12.59 MB / 390.4 MB, free: 1.332 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.068962792865932]