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.001932/0.001932, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.002325/0.002325, allocations: 167.3 kB / 24.5 MB, free: 3.453 MB / 14.72 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 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.212/0.212, allocations: 32.81 MB / 294.1 MB, free: 48 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 63.91 kB / 440.6 MB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.00751/0.3146, allocations: 8.423 MB / 0.5024 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005015/0.3196, allocations: 2.78 MB / 0.5051 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.321, allocations: 56.81 kB / 0.5051 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.3244, allocations: 1.936 MB / 0.507 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.3271, allocations: 1.138 MB / 0.5081 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.3278, allocations: 289.5 kB / 0.5084 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.3302, allocations: 2.328 MB / 0.5107 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.3321, allocations: 1.725 MB / 0.5124 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.3333, allocations: 0.888 MB / 0.5132 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.3349, allocations: 1.177 MB / 0.5144 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.3353, allocations: 193.9 kB / 0.5146 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3366, allocations: 0.6089 MB / 0.5152 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.3378, allocations: 1.133 MB / 0.5163 GB, free: 19.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.3388, allocations: 0.9495 MB / 0.5172 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.3446, allocations: 4.343 MB / 0.5214 GB, free: 17.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3446, allocations: 1.531 kB / 0.5214 GB, free: 17.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3446, allocations: 4 kB / 0.5214 GB, free: 17.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001276/0.3447, allocations: 0 / 0.5214 GB, free: 17.54 MB / 446.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.005959/0.3506, allocations: 2.86 MB / 0.5242 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3507, allocations: 9.375 kB / 0.5242 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/0.3562, allocations: 1.596 MB / 0.5258 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.3592, allocations: 1.286 MB / 0.5271 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3593, allocations: 143 kB / 0.5272 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/0.3597, allocations: 193.7 kB / 0.5274 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.3715, allocations: 6.256 MB / 0.5335 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.3715, allocations: 13.97 kB / 0.5335 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.3718, allocations: 87.72 kB / 0.5336 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002141/0.3739, allocations: 1.341 MB / 0.5349 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009688/0.3836, allocations: 5.341 MB / 0.5401 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.4079, allocations: 18.39 MB / 0.5581 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004382/0.4122, allocations: 1.578 MB / 0.5596 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4133, allocations: 0.6331 MB / 0.5602 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007125/0.4204, allocations: 3.12 MB / 0.5633 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4205, allocations: 43.06 kB / 0.5633 GB, free: 1.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.547e-06/0.4205, allocations: 0 / 0.5633 GB, free: 1.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.00918/0.4296, allocations: 2.108 MB / 0.5654 GB, free: 15.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.4298, allocations: 59.84 kB / 0.5654 GB, free: 14.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00557/0.4353, allocations: 1.931 MB / 0.5673 GB, free: 13.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4354, allocations: 45.61 kB / 0.5674 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002334/0.4378, allocations: 1.923 MB / 0.5692 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.4383, allocations: 329.5 kB / 0.5696 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.4399, allocations: 0.6195 MB / 0.5702 GB, free: 10.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002817/0.4402, allocations: 345.9 kB / 0.5705 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.4425, allocations: 0.8842 MB / 0.5714 GB, free: 8.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/0.4472, allocations: 2.748 MB / 0.574 GB, free: 5.172 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/0.4557, allocations: 3.97 MB / 0.5779 GB, free: 280 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-05/0.4558, allocations: 20 kB / 0.5779 GB, free: 260 kB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01057/0.4664, allocations: 3.519 MB / 0.5814 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.4664, allocations: 36.94 kB / 0.5814 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.4665, allocations: 67.98 kB / 0.5815 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.4667, allocations: 91.94 kB / 0.5816 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.4705, allocations: 0.655 MB / 0.5822 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001806/0.4707, allocations: 135.4 kB / 0.5823 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.4739, allocations: 416.9 kB / 0.5827 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004659/0.4744, allocations: 180 kB / 0.5829 GB, free: 11.16 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.003703/0.4781, allocations: 1.346 MB / 0.5842 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/0.4785, allocations: 158.9 kB / 0.5844 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.4791, allocations: 192 kB / 0.5845 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/0.4791, allocations: 8 kB / 0.5846 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.4791, allocations: 3.938 kB / 0.5846 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4791, allocations: 3.984 kB / 0.5846 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0093/0.4884, allocations: 3.086 MB / 0.5876 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.4884, allocations: 4.844 kB / 0.5876 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.4893, allocations: 107.8 kB / 0.5877 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.298e-05/0.4893, allocations: 15.94 kB / 0.5877 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/0.4894, allocations: 20 kB / 0.5877 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-05/0.4894, allocations: 19.86 kB / 0.5877 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.4894, allocations: 8 kB / 0.5877 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.4922, allocations: 1.246 MB / 0.589 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.4928, allocations: 150.8 kB / 0.5891 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.493, allocations: 31.91 kB / 0.5891 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/0.4939, allocations: 23.98 kB / 0.5892 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.494, allocations: 55.8 kB / 0.5892 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.4941, allocations: 36 kB / 0.5892 GB, free: 4.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002806/0.4969, allocations: 1.122 MB / 0.5903 GB, free: 3.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4969, allocations: 0 / 0.5903 GB, free: 3.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004628/0.5016, allocations: 0.7006 MB / 0.591 GB, free: 2.594 MB / 494.1 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.0004796/0.502, allocations: 150.9 kB / 0.5912 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005678/0.5077, allocations: 1.951 MB / 0.5931 GB, free: 0.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.5077, allocations: 4 kB / 0.5931 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5088, allocations: 433.5 kB / 0.5935 GB, free: 76 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.5108, allocations: 192.1 kB / 0.5937 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.5281, allocations: 5.099 MB / 0.5987 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005225/0.5333, allocations: 1.708 MB / 0.6003 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004531/0.5379, allocations: 0.9351 MB / 0.6012 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.5385, allocations: 116.5 kB / 0.6013 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.5385, allocations: 4 kB / 0.6013 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of Templates: time 0.05068/0.5892, allocations: 11.59 MB / 0.6127 GB, free: 12.46 MB / 0.5138 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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.606125286081806]