Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00165/0.00165, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001609/0.001609, allocations: 173.5 kB / 24.99 MB, free: 8.793 MB / 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 0.9882/0.9882, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2544/0.2544, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.499e-05, allocations: 6.25 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01252/0.01255, allocations: 14.42 MB / 390.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02272, allocations: 4.96 MB / 395.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.02549, allocations: 139.3 kB / 395.5 MB, free: 1.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007666/0.03316, allocations: 6.41 MB / 401.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006064/0.03922, allocations: 2.916 MB / 404.8 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.04215, allocations: 1.797 MB / 406.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.05261, allocations: 9.12 MB / 415.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008079/0.06069, allocations: 6.588 MB / 422.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008906/0.0696, allocations: 4.503 MB / 426.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006324/0.07592, allocations: 4.451 MB / 431.3 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002171/0.07809, allocations: 0.5859 MB / 431.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.08115, allocations: 1.362 MB / 433.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00461/0.08576, allocations: 3.822 MB / 437.1 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004755/0.09052, allocations: 2.294 MB / 439.4 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1746/0.2651, allocations: 7.582 MB / 446.9 MB, free: 67.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2651, allocations: 0 / 446.9 MB, free: 67.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2651, allocations: 2.562 kB / 446.9 MB, free: 67.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003349/0.2655, allocations: 0 / 446.9 MB, free: 67.64 MB / 410.7 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.01044/0.2759, allocations: 9.308 MB / 456.2 MB, free: 64.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.276, allocations: 9.562 kB / 456.3 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006701/0.2827, allocations: 3.34 MB / 459.6 MB, free: 63.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/0.2867, allocations: 4.066 MB / 463.7 MB, free: 62.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.2869, allocations: 413.5 kB / 464.1 MB, free: 62.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/0.2875, allocations: 0.5437 MB / 464.6 MB, free: 62.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.3009, allocations: 10.41 MB / 475 MB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/0.3012, allocations: 66.27 kB / 475.1 MB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008066/0.302, allocations: 261 kB / 475.3 MB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002922/0.3049, allocations: 2.928 MB / 478.3 MB, free: 57.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3204, allocations: 5.231 MB / 483.5 MB, free: 57.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0595/0.3799, allocations: 72.19 MB / 0.5427 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008313/0.3882, allocations: 3.466 MB / 0.546 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3895, allocations: 0.7702 MB / 0.5468 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008932/0.3984, allocations: 6.331 MB / 0.553 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3985, allocations: 54.7 kB / 0.553 GB, free: 8.566 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.839e-06/0.3985, allocations: 0 / 0.553 GB, free: 8.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02989/0.4284, allocations: 13.08 MB / 0.5658 GB, free: 11.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.4284, allocations: 153.6 kB / 0.5659 GB, free: 11.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007336/0.4358, allocations: 5.526 MB / 0.5713 GB, free: 5.934 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002476/0.436, allocations: 57.38 kB / 0.5714 GB, free: 5.875 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/0.4398, allocations: 5.497 MB / 0.5768 GB, free: 424 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009531/0.4408, allocations: 0.8754 MB / 0.5776 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/0.4428, allocations: 1.818 MB / 0.5794 GB, free: 13.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003447/0.4431, allocations: 488.7 kB / 0.5799 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.4448, allocations: 0.7814 MB / 0.5806 GB, free: 12.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/0.4507, allocations: 8.692 MB / 0.5891 GB, free: 184 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.4609, allocations: 10.49 MB / 0.5994 GB, free: 2.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/0.4611, allocations: 56 kB / 0.5994 GB, free: 2.281 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1714/0.6324, allocations: 7.046 MB / 0.6063 GB, free: 137.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.6325, allocations: 86.69 kB / 0.6064 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.6326, allocations: 191 kB / 0.6066 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.6328, allocations: 248.5 kB / 0.6068 GB, free: 137.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/0.6359, allocations: 1.942 MB / 0.6087 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001699/0.636, allocations: 374 kB / 0.6091 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/0.6396, allocations: 0.6264 MB / 0.6097 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/0.64, allocations: 0.5089 MB / 0.6102 GB, free: 137.3 MB / 474.7 MB 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.001689/0.6417, allocations: 0.8778 MB / 0.611 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/0.6421, allocations: 0.5572 MB / 0.6116 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.6425, allocations: 496.2 kB / 0.612 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.6426, allocations: 28.8 kB / 0.6121 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6426, allocations: 0 / 0.6121 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.6426, allocations: 13.08 kB / 0.6121 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.6524, allocations: 10.17 MB / 0.622 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.6525, allocations: 45.78 kB / 0.622 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.6532, allocations: 446.1 kB / 0.6225 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.042e-05/0.6532, allocations: 58.09 kB / 0.6225 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.6533, allocations: 99.66 kB / 0.6226 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-05/0.6533, allocations: 98.03 kB / 0.6227 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-05/0.6533, allocations: 72.19 kB / 0.6228 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.6559, allocations: 4.108 MB / 0.6268 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.6565, allocations: 0.6016 MB / 0.6274 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/0.6569, allocations: 107 kB / 0.6275 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.6586, allocations: 236.7 kB / 0.6277 GB, free: 130.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.6588, allocations: 316.9 kB / 0.628 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.659, allocations: 126.5 kB / 0.6281 GB, free: 130.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003174/0.6622, allocations: 2.411 MB / 0.6305 GB, free: 129.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6622, allocations: 0 / 0.6305 GB, free: 129.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005878/0.668, allocations: 1.498 MB / 0.632 GB, free: 129.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0004196/0.6685, allocations: 287.9 kB / 0.6322 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004844/0.6733, allocations: 3.678 MB / 0.6358 GB, free: 128.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.6733, allocations: 7.375 kB / 0.6358 GB, free: 128.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.6741, allocations: 0.7507 MB / 0.6366 GB, free: 128.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.6775, allocations: 0.8264 MB / 0.6374 GB, free: 128.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.6917, allocations: 13.74 MB / 0.6508 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.6935, allocations: 2.098 MB / 0.6528 GB, free: 118.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003859/0.6974, allocations: 2.203 MB / 0.655 GB, free: 117.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.6979, allocations: 352.9 kB / 0.6553 GB, free: 116.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6979, allocations: 4 kB / 0.6553 GB, free: 116.8 MB / 474.7 MB Notification: Performance of Templates: time 0.08873/0.7866, allocations: 33.65 MB / 0.6882 GB, free: 88.37 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 4.932456826092675]