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.0009783/0.0009783, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001639/0.001639, allocations: 161 kB / 24.56 MB, free: 20 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.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2831/0.2831, allocations: 34.26 MB / 295.7 MB, free: 0.6367 MB / 266.7 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.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",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.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.961e-05, allocations: 6.25 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.0132/0.01323, allocations: 14.46 MB / 392.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02424, allocations: 4.968 MB / 397.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.02725, allocations: 143.3 kB / 397.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008048/0.0353, allocations: 6.445 MB / 404 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.04169, allocations: 2.908 MB / 407 MB, free: 5.613 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.04485, allocations: 1.789 MB / 408.7 MB, free: 3.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.05488, allocations: 9.136 MB / 417.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009033/0.06392, allocations: 6.588 MB / 424.5 MB, free: 3.988 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009011/0.07293, allocations: 4.51 MB / 429 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005773/0.0787, allocations: 4.447 MB / 433.4 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.08054, allocations: 0.5898 MB / 434 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.08345, allocations: 1.362 MB / 435.4 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003567/0.08702, allocations: 3.822 MB / 439.2 MB, free: 5.227 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003465/0.09048, allocations: 2.286 MB / 441.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1757/0.2661, allocations: 7.585 MB / 449.1 MB, free: 67.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2661, allocations: 0 / 449.1 MB, free: 67.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2661, allocations: 0 / 449.1 MB, free: 67.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004956/0.2666, allocations: 0 / 449.1 MB, free: 67.03 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.01452/0.2812, allocations: 9.303 MB / 458.4 MB, free: 63.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2812, allocations: 10 kB / 458.4 MB, free: 63.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006642/0.2878, allocations: 3.34 MB / 461.7 MB, free: 63.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007499/0.2953, allocations: 4.069 MB / 465.8 MB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.2956, allocations: 417.9 kB / 466.2 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.2966, allocations: 0.5427 MB / 466.7 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.314, allocations: 10.4 MB / 477.1 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.3143, allocations: 65.98 kB / 477.2 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006008/0.3149, allocations: 265.4 kB / 477.5 MB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/0.3179, allocations: 2.929 MB / 480.4 MB, free: 56.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.3345, allocations: 5.225 MB / 485.6 MB, free: 56.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06305/0.3976, allocations: 72.19 MB / 0.5447 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008461/0.4061, allocations: 3.459 MB / 0.5481 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4076, allocations: 0.7707 MB / 0.5489 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009935/0.4175, allocations: 6.33 MB / 0.555 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.4175, allocations: 62.69 kB / 0.5551 GB, free: 6.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 5.711e-06/0.4175, allocations: 3.984 kB / 0.5551 GB, free: 6.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02666/0.4442, allocations: 13.07 MB / 0.5679 GB, free: 9.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.4443, allocations: 161.8 kB / 0.568 GB, free: 9.652 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/0.4511, allocations: 5.519 MB / 0.5734 GB, free: 4.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.4514, allocations: 57.7 kB / 0.5735 GB, free: 4.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/0.4547, allocations: 5.503 MB / 0.5789 GB, free: 14.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/0.4556, allocations: 0.8704 MB / 0.5797 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.4573, allocations: 1.82 MB / 0.5815 GB, free: 11.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4574, allocations: 476.8 kB / 0.5819 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4588, allocations: 0.7846 MB / 0.5827 GB, free: 10.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005565/0.4644, allocations: 8.702 MB / 0.5912 GB, free: 14.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00838/0.4728, allocations: 10.48 MB / 0.6014 GB, free: 0.543 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.4729, allocations: 52 kB / 0.6015 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1772/0.6501, allocations: 7.053 MB / 0.6084 GB, free: 133.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.6502, allocations: 89.16 kB / 0.6085 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.6504, allocations: 189.8 kB / 0.6086 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.6506, allocations: 249.6 kB / 0.6089 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.6539, allocations: 1.934 MB / 0.6108 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/0.6541, allocations: 372.7 kB / 0.6111 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/0.6583, allocations: 0.6261 MB / 0.6117 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/0.6588, allocations: 0.5141 MB / 0.6122 GB, free: 133 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.002167/0.661, allocations: 0.8717 MB / 0.6131 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/0.6617, allocations: 0.5667 MB / 0.6136 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.6622, allocations: 492.3 kB / 0.6141 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.6622, allocations: 28.06 kB / 0.6141 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.6623, allocations: 0 / 0.6141 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6623, allocations: 9.109 kB / 0.6141 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.6752, allocations: 10.16 MB / 0.6241 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.709e-05/0.6753, allocations: 47.97 kB / 0.6241 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.6763, allocations: 451.6 kB / 0.6245 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.542e-05/0.6764, allocations: 63.66 kB / 0.6246 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.6765, allocations: 101.7 kB / 0.6247 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.552e-05/0.6766, allocations: 90.11 kB / 0.6248 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.301e-05/0.6766, allocations: 72.69 kB / 0.6249 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.6803, allocations: 4.117 MB / 0.6289 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.6814, allocations: 0.5987 MB / 0.6295 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/0.6819, allocations: 104.8 kB / 0.6296 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.6837, allocations: 232.2 kB / 0.6298 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.684, allocations: 326.5 kB / 0.6301 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.6841, allocations: 125.2 kB / 0.6302 GB, free: 125.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00388/0.688, allocations: 2.411 MB / 0.6326 GB, free: 125.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.688, allocations: 0 / 0.6326 GB, free: 125.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006445/0.6945, allocations: 1.493 MB / 0.634 GB, free: 125.6 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.0005439/0.695, allocations: 294.2 kB / 0.6343 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005359/0.7004, allocations: 3.668 MB / 0.6379 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-05/0.7004, allocations: 8.969 kB / 0.6379 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009631/0.7014, allocations: 0.7512 MB / 0.6386 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/0.7053, allocations: 0.8329 MB / 0.6394 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.7231, allocations: 13.75 MB / 0.6529 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.7254, allocations: 2.106 MB / 0.6549 GB, free: 112.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003911/0.7293, allocations: 2.198 MB / 0.6571 GB, free: 111 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/0.73, allocations: 348.5 kB / 0.6574 GB, free: 110.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.284e-06/0.73, allocations: 0 / 0.6574 GB, free: 110.7 MB / 474.7 MB Notification: Performance of Templates: time 0.05245/0.7824, allocations: 33.65 MB / 0.6903 GB, free: 82.21 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.218502530828118]