Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.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.001786/0.001786, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.00218/0.00218, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 59.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3161, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02232/0.3384, allocations: 13.03 MB / 0.5745 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.3524, allocations: 4.848 MB / 0.5793 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.3559, allocations: 139.3 kB / 0.5794 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01513/0.3711, allocations: 5.807 MB / 0.5851 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009606/0.3807, allocations: 2.825 MB / 0.5878 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.3854, allocations: 1.575 MB / 0.5894 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01445/0.3999, allocations: 7.793 MB / 0.597 GB, free: 32 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00915/0.4091, allocations: 5.408 MB / 0.6023 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006231/0.4153, allocations: 2.984 MB / 0.6052 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008196/0.4235, allocations: 4.101 MB / 0.6092 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001834/0.4253, allocations: 0.5703 MB / 0.6097 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.4287, allocations: 1.299 MB / 0.611 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003779/0.4324, allocations: 3.611 MB / 0.6145 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004091/0.4365, allocations: 2.874 MB / 0.6173 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.45, allocations: 11.71 MB / 0.6288 GB, free: 15.28 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.45, allocations: 0 / 0.6288 GB, free: 15.28 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.45, allocations: 0 / 0.6288 GB, free: 15.28 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002786/0.4503, allocations: 4 kB / 0.6288 GB, free: 15.27 MB / 478.1 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.01971/0.47, allocations: 8.602 MB / 0.6372 GB, free: 6.594 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.47, allocations: 12.03 kB / 0.6372 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4803, allocations: 2.523 MB / 0.6397 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.4911, allocations: 4.451 MB / 0.644 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.4915, allocations: 426.5 kB / 0.6444 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.4929, allocations: 0.5427 MB / 0.6449 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/0.5257, allocations: 16.76 MB / 0.6613 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.5259, allocations: 71.44 kB / 0.6614 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000981/0.5269, allocations: 263.8 kB / 0.6616 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004621/0.5315, allocations: 2.92 MB / 0.6645 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.5605, allocations: 12.77 MB / 0.677 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5329/1.093, allocations: 60 MB / 0.7355 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/1.108, allocations: 4.77 MB / 0.7402 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/1.111, allocations: 1.995 MB / 0.7421 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/1.125, allocations: 7.621 MB / 0.7496 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.125, allocations: 54.84 kB / 0.7496 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 6.663e-06/1.125, allocations: 1.078 kB / 0.7496 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03472/1.16, allocations: 14.31 MB / 0.7636 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.16, allocations: 151.8 kB / 0.7638 GB, free: 131.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006425/1.166, allocations: 6.002 MB / 0.7696 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002785/1.167, allocations: 57.53 kB / 0.7697 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/1.169, allocations: 5.292 MB / 0.7748 GB, free: 121.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006309/1.169, allocations: 0.8512 MB / 0.7757 GB, free: 121 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.171, allocations: 1.691 MB / 0.7773 GB, free: 119.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.953e-05/1.171, allocations: 309 kB / 0.7776 GB, free: 119 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/1.173, allocations: 2.326 MB / 0.7799 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004377/1.178, allocations: 7.668 MB / 0.7874 GB, free: 106.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00824/1.186, allocations: 10.88 MB / 0.798 GB, free: 93.11 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.186, allocations: 52 kB / 0.7981 GB, free: 93.06 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01378/1.2, allocations: 9.633 MB / 0.8075 GB, free: 83.43 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/1.2, allocations: 88 kB / 0.8075 GB, free: 83.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/1.2, allocations: 188 kB / 0.8077 GB, free: 83.16 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/1.2, allocations: 252 kB / 0.808 GB, free: 82.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005047/1.205, allocations: 1.922 MB / 0.8098 GB, free: 80.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001713/1.205, allocations: 370.5 kB / 0.8102 GB, free: 80.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/1.21, allocations: 420.7 kB / 0.8106 GB, free: 80.21 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/1.211, allocations: 0.5134 MB / 0.8111 GB, free: 79.71 MB / 0.5607 GB 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.003569/1.215, allocations: 3.291 MB / 0.8143 GB, free: 76.41 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/1.215, allocations: 0.5044 MB / 0.8148 GB, free: 75.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007622/1.216, allocations: 0.5762 MB / 0.8154 GB, free: 75.31 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.216, allocations: 15.95 kB / 0.8154 GB, free: 75.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.216, allocations: 0 / 0.8154 GB, free: 75.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/1.217, allocations: 448.4 kB / 0.8158 GB, free: 74.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/1.217, allocations: 32 kB / 0.8158 GB, free: 74.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.219, allocations: 87.89 kB / 0.8159 GB, free: 74.74 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.219, allocations: 109 kB / 0.816 GB, free: 74.63 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002971/1.222, allocations: 2.471 MB / 0.8184 GB, free: 72.19 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002483/1.224, allocations: 2.87 MB / 0.8212 GB, free: 69.29 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008395/1.225, allocations: 0.8888 MB / 0.8221 GB, free: 68.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003998/1.229, allocations: 3.498 MB / 0.8255 GB, free: 64.93 MB / 0.5607 GB Notification: Performance of Backend: time 4.1e-07/1.229, allocations: 0 / 0.8255 GB, free: 64.93 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007028/1.236, allocations: 4.502 MB / 0.8299 GB, free: 60.49 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01824/1.254, allocations: 14.31 MB / 0.8439 GB, free: 46.12 MB / 0.5607 GB Notification: Performance of Templates: time 0.08783/1.342, allocations: 54.66 MB / 0.8973 GB, free: 8.219 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.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: 7.780417983994994]