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.001442/0.001442, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 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.001666/0.001666, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.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.2319/0.2319, allocations: 44.93 MB / 359.6 MB, free: 6.086 MB / 286.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.002248/0.002248, allocations: 67.89 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3135, allocations: 65.48 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01152/0.325, allocations: 8.412 MB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.3314, allocations: 2.783 MB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.3325, allocations: 55.81 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.3365, allocations: 1.935 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.3394, allocations: 1.14 MB / 0.5722 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008067/0.3402, allocations: 287.5 kB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.3436, allocations: 2.325 MB / 0.5747 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.3458, allocations: 1.73 MB / 0.5764 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3469, allocations: 0.8956 MB / 0.5773 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.3484, allocations: 1.168 MB / 0.5784 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.3488, allocations: 192 kB / 0.5786 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.3499, allocations: 0.6123 MB / 0.5792 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.351, allocations: 1.137 MB / 0.5803 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.3521, allocations: 0.947 MB / 0.5812 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005084/0.3572, allocations: 4.349 MB / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3572, allocations: 0 / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3572, allocations: 0 / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.3573, allocations: 0 / 0.5855 GB, free: 11.37 MB / 430.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.005878/0.3632, allocations: 2.859 MB / 0.5883 GB, free: 8.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3632, allocations: 8.031 kB / 0.5883 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/0.3685, allocations: 1.578 MB / 0.5898 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.3712, allocations: 1.286 MB / 0.5911 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.3713, allocations: 148 kB / 0.5912 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.3716, allocations: 195.8 kB / 0.5914 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009443/0.3811, allocations: 6.242 MB / 0.5975 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.3811, allocations: 19.86 kB / 0.5975 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.3814, allocations: 83.91 kB / 0.5976 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.3835, allocations: 1.344 MB / 0.5989 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009451/0.3929, allocations: 5.322 MB / 0.6041 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.4176, allocations: 18.29 MB / 0.622 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.4216, allocations: 1.488 MB / 0.6234 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009563/0.4225, allocations: 0.6367 MB / 0.6241 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006548/0.4291, allocations: 3.013 MB / 0.627 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4291, allocations: 35 kB / 0.627 GB, free: 15.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.456e-06/0.4291, allocations: 0 / 0.627 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005363/0.4345, allocations: 1.982 MB / 0.629 GB, free: 13.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.4345, allocations: 59.78 kB / 0.629 GB, free: 13.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/0.4375, allocations: 1.939 MB / 0.6309 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.4375, allocations: 37.69 kB / 0.631 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.439, allocations: 1.915 MB / 0.6328 GB, free: 9.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.4393, allocations: 329.5 kB / 0.6331 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008151/0.4401, allocations: 0.6195 MB / 0.6337 GB, free: 8.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4403, allocations: 349.9 kB / 0.6341 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4416, allocations: 0.8881 MB / 0.6349 GB, free: 7.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.4444, allocations: 2.744 MB / 0.6376 GB, free: 3.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.449, allocations: 3.978 MB / 0.6415 GB, free: 15.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-05/0.449, allocations: 16 kB / 0.6415 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005727/0.4548, allocations: 3.527 MB / 0.645 GB, free: 11.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.4548, allocations: 38.44 kB / 0.645 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-05/0.4549, allocations: 67.94 kB / 0.6451 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.455, allocations: 91.94 kB / 0.6452 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.457, allocations: 0.6511 MB / 0.6458 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.4571, allocations: 135.4 kB / 0.6459 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.459, allocations: 417.5 kB / 0.6463 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.4593, allocations: 188 kB / 0.6465 GB, free: 9.961 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.00202/0.4613, allocations: 1.334 MB / 0.6478 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.4616, allocations: 154.9 kB / 0.6479 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.4619, allocations: 192 kB / 0.6481 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.4619, allocations: 11.98 kB / 0.6481 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.462, allocations: 7.938 kB / 0.6482 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.462, allocations: 4 kB / 0.6482 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/0.4682, allocations: 3.062 MB / 0.6511 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.4682, allocations: 4 kB / 0.6511 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.4686, allocations: 107.8 kB / 0.6513 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.4687, allocations: 11.94 kB / 0.6513 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.4687, allocations: 20 kB / 0.6513 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/0.4687, allocations: 16.52 kB / 0.6513 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.4687, allocations: 8 kB / 0.6513 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.4704, allocations: 1.245 MB / 0.6525 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.4707, allocations: 154.8 kB / 0.6527 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.471, allocations: 31.91 kB / 0.6527 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.4714, allocations: 19.98 kB / 0.6527 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.4715, allocations: 59.8 kB / 0.6528 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.4716, allocations: 31.94 kB / 0.6528 GB, free: 3.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001719/0.4733, allocations: 1.122 MB / 0.6539 GB, free: 2.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4733, allocations: 0 / 0.6539 GB, free: 2.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002706/0.476, allocations: 0.7006 MB / 0.6546 GB, free: 1.434 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.0003483/0.4764, allocations: 146.9 kB / 0.6547 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.4796, allocations: 1.952 MB / 0.6566 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4796, allocations: 4 kB / 0.6566 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.4802, allocations: 432.1 kB / 0.657 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.4813, allocations: 203.2 kB / 0.6572 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4919, allocations: 5.409 MB / 0.6625 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00277/0.4946, allocations: 1.712 MB / 0.6642 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.4951, allocations: 135.4 kB / 0.6643 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.4951, allocations: 0 / 0.6643 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.05118/0.5463, allocations: 30.06 MB / 0.6937 GB, free: 9.289 MB / 0.5294 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 -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: 10.142249571625143]