Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 88.31 kB / 20.96 MB, free: 3.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3374/0.3374, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.955e-05, allocations: 6.25 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01164/0.01167, allocations: 8.409 MB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.01873, allocations: 2.795 MB / 386.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.01994, allocations: 55.81 kB / 386.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.0242, allocations: 2.064 MB / 388.6 MB, free: 7.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.02706, allocations: 1.186 MB / 389.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.02787, allocations: 315.2 kB / 390.1 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.03151, allocations: 2.368 MB / 392.4 MB, free: 3.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.034, allocations: 1.797 MB / 394.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.03587, allocations: 1.282 MB / 395.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.03765, allocations: 1.134 MB / 396.7 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.03804, allocations: 196 kB / 396.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.03925, allocations: 0.6436 MB / 397.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.04049, allocations: 1.176 MB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.04171, allocations: 0.7085 MB / 399.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.04716, allocations: 4.291 MB / 403.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.04717, allocations: 4 kB / 403.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.04717, allocations: 0 / 403.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.54e-05/0.04726, allocations: 0 / 403.7 MB, free: 8.434 MB / 378.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.005424/0.05268, allocations: 2.839 MB / 406.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.05272, allocations: 8.031 kB / 406.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.05842, allocations: 1.926 MB / 408.4 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.0611, allocations: 1.286 MB / 409.7 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.06124, allocations: 144 kB / 409.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.06158, allocations: 188.3 kB / 410.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.07269, allocations: 6.255 MB / 416.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.07274, allocations: 19.8 kB / 416.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.07299, allocations: 91.84 kB / 416.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002331/0.07532, allocations: 1.34 MB / 417.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.08656, allocations: 5.332 MB / 423.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.116, allocations: 18.42 MB / 441.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/0.1206, allocations: 1.566 MB / 443.1 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1636/0.2843, allocations: 0.6355 MB / 443.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007007/0.2913, allocations: 3.11 MB / 446.8 MB, free: 101 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.2913, allocations: 41.52 kB / 446.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.639e-06/0.2913, allocations: 3.172 kB / 446.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.005/0.2963, allocations: 2.133 MB / 449 MB, free: 100.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2964, allocations: 59.94 kB / 449.1 MB, free: 100.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.2985, allocations: 1.937 MB / 451 MB, free: 99.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.2986, allocations: 32.89 kB / 451 MB, free: 99.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/0.2994, allocations: 1.902 MB / 452.9 MB, free: 98.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.2996, allocations: 325.7 kB / 453.2 MB, free: 98.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006148/0.3002, allocations: 0.6118 MB / 453.9 MB, free: 97.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.3003, allocations: 355.7 kB / 454.2 MB, free: 97.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3013, allocations: 0.8851 MB / 455.1 MB, free: 97.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.303, allocations: 2.752 MB / 457.8 MB, free: 94.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.3064, allocations: 3.968 MB / 461.8 MB, free: 91.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/0.3064, allocations: 19.47 kB / 461.8 MB, free: 91.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005045/0.3115, allocations: 3.678 MB / 465.5 MB, free: 89.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.3115, allocations: 35.94 kB / 465.5 MB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.836e-05/0.3116, allocations: 68.66 kB / 465.6 MB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.201e-05/0.3117, allocations: 89.78 kB / 465.7 MB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.3135, allocations: 0.6557 MB / 466.4 MB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-05/0.3136, allocations: 126.3 kB / 466.5 MB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.3158, allocations: 411.4 kB / 466.9 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.3161, allocations: 195.4 kB / 467.1 MB, free: 89.43 MB / 410.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.001755/0.3178, allocations: 1.343 MB / 468.4 MB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.3181, allocations: 173.1 kB / 468.6 MB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.3184, allocations: 185.3 kB / 468.8 MB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.3184, allocations: 15.91 kB / 468.8 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.3184, allocations: 0 / 468.8 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3184, allocations: 3.422 kB / 468.8 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/0.3229, allocations: 3.085 MB / 471.9 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.3229, allocations: 12.53 kB / 471.9 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.3233, allocations: 111.5 kB / 472 MB, free: 87.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.3233, allocations: 9.312 kB / 472 MB, free: 87.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.3233, allocations: 20.91 kB / 472 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.3233, allocations: 14.16 kB / 472 MB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3233, allocations: 9.188 kB / 472 MB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3246, allocations: 1.257 MB / 473.3 MB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.3248, allocations: 156.8 kB / 473.4 MB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3249, allocations: 20.47 kB / 473.5 MB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3254, allocations: 23.88 kB / 473.5 MB, free: 86.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.3255, allocations: 56.12 kB / 473.5 MB, free: 86.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.3255, allocations: 28.34 kB / 473.6 MB, free: 86.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0015/0.327, allocations: 1.12 MB / 474.7 MB, free: 86.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.327, allocations: 0 / 474.7 MB, free: 86.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002938/0.33, allocations: 0.7096 MB / 475.4 MB, free: 85.79 MB / 410.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.000336/0.3303, allocations: 143.8 kB / 475.5 MB, free: 85.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.3335, allocations: 1.957 MB / 477.5 MB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.3335, allocations: 1.094 kB / 477.5 MB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.334, allocations: 431.9 kB / 477.9 MB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3353, allocations: 193.3 kB / 478.1 MB, free: 84.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/0.3438, allocations: 5.162 MB / 483.3 MB, free: 82.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/0.346, allocations: 1.712 MB / 485 MB, free: 81.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001909/0.3479, allocations: 0.9368 MB / 485.9 MB, free: 81.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.3482, allocations: 114.6 kB / 486 MB, free: 81.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.3482, allocations: 3.969 kB / 486 MB, free: 81.77 MB / 410.7 MB Notification: Performance of Templates: time 0.02511/0.3733, allocations: 11.63 MB / 497.7 MB, free: 76.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.466323593980633]