Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009183/0.0009183, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.002016, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007388/0.0007388, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009498/0.001689, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.951/0.951, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1698/1.121, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1248/0.1248, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02237/0.1472, allocations: 12.29 MB / 265.9 MB, free: 7.84 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.412e-05, allocations: 2.312 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01886/0.01887, allocations: 17 MB / 284.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.02981, allocations: 5.597 MB / 289.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.03208, allocations: 155.3 kB / 290 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005863/0.03794, allocations: 6.198 MB / 296.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005745/0.04368, allocations: 3.362 MB / 299.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.04597, allocations: 1.634 MB / 301.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008101/0.05407, allocations: 9.175 MB / 310.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005698/0.05977, allocations: 6.302 MB / 316.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/0.06572, allocations: 5.228 MB / 321.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005063/0.07078, allocations: 4.766 MB / 326.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.07181, allocations: 0.6834 MB / 327.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.07411, allocations: 1.51 MB / 328.8 MB, free: 8.594 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002647/0.07676, allocations: 3.893 MB / 332.7 MB, free: 4.691 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.07897, allocations: 2.127 MB / 334.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1602/0.2392, allocations: 8.184 MB / 343 MB, free: 22.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.307e-05/0.2392, allocations: 0 / 343 MB, free: 22.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2392, allocations: 3.344 kB / 343 MB, free: 22.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004856/0.2397, allocations: 0 / 343 MB, free: 22.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01465/0.2544, allocations: 10.62 MB / 353.7 MB, free: 19.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2544, allocations: 7.094 kB / 353.7 MB, free: 19.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.2587, allocations: 1.926 MB / 355.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/0.2632, allocations: 3.99 MB / 359.6 MB, free: 18.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.2634, allocations: 473.2 kB / 360 MB, free: 18.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006107/0.264, allocations: 0.6236 MB / 360.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.2741, allocations: 9.394 MB / 370.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2743, allocations: 77.19 kB / 370.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/0.2747, allocations: 300.4 kB / 370.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002422/0.2771, allocations: 3.353 MB / 373.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007859/0.285, allocations: 4.684 MB / 378.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.053/0.338, allocations: 57.25 MB / 435.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006831/0.3448, allocations: 3.335 MB / 439.1 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.3456, allocations: 0.6432 MB / 439.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009392/0.355, allocations: 6.208 MB / 445.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3551, allocations: 58.62 kB / 446 MB, free: 8.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=250): time 4.679e-06/0.3551, allocations: 0 / 446 MB, free: 8.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=274): time 0.01759/0.3727, allocations: 7.776 MB / 453.7 MB, free: 1.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.3728, allocations: 162.5 kB / 453.9 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/0.378, allocations: 5.276 MB / 459.2 MB, free: 12.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.3781, allocations: 70.36 kB / 459.2 MB, free: 12.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002725/0.3808, allocations: 5.529 MB / 464.8 MB, free: 7.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009282/0.3818, allocations: 1.091 MB / 465.9 MB, free: 6.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.3831, allocations: 1.794 MB / 467.7 MB, free: 4.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.3832, allocations: 309.1 kB / 468 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.3849, allocations: 1.114 MB / 469.1 MB, free: 3.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/0.3892, allocations: 6.812 MB / 475.9 MB, free: 9.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/0.3965, allocations: 8.915 MB / 484.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.3966, allocations: 60 kB / 484.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.007809/0.4044, allocations: 6.375 MB / 491.2 MB, free: 8.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/0.4045, allocations: 96 kB / 491.3 MB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002136/0.4047, allocations: 211.9 kB / 491.5 MB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.4049, allocations: 280.1 kB / 491.8 MB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/0.4092, allocations: 2.422 MB / 494.2 MB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/0.4094, allocations: 416.7 kB / 494.6 MB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/0.4142, allocations: 414.8 kB / 495 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005638/0.4147, allocations: 0.5014 MB / 495.5 MB, free: 3.727 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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 (1195): * Single equations (assignments): 1184 * 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.003877/0.4186, allocations: 0.9074 MB / 496.5 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/0.4196, allocations: 370.7 kB / 496.8 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.4211, allocations: 1.338 MB / 498.2 MB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.4212, allocations: 32 kB / 498.2 MB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4212, allocations: 0 / 498.2 MB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.4212, allocations: 15.95 kB / 498.2 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.4348, allocations: 11.87 MB / 0.4981 GB, free: 4.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/0.4349, allocations: 60 kB / 0.4982 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.4362, allocations: 0.6551 MB / 0.4988 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.437, allocations: 0.652 MB / 0.4994 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.44e-05/0.437, allocations: 84 kB / 0.4995 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.4372, allocations: 139.9 kB / 0.4997 GB, free: 3.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-05/0.4372, allocations: 127.5 kB / 0.4998 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.344e-05/0.4373, allocations: 97.27 kB / 0.4999 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1728/0.6101, allocations: 4.584 MB / 0.5044 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008474/0.6109, allocations: 146.7 kB / 0.5045 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.6125, allocations: 126.8 kB / 0.5046 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.6127, allocations: 434.5 kB / 0.505 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.6129, allocations: 154.2 kB / 0.5052 GB, free: 129.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002731/0.6157, allocations: 2.299 MB / 0.5074 GB, free: 129.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6157, allocations: 1.422 kB / 0.5074 GB, free: 129.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005501/0.6212, allocations: 1.753 MB / 0.5091 GB, free: 129.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.0003935/0.6215, allocations: 336.8 kB / 0.5095 GB, free: 129.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.6256, allocations: 3.852 MB / 0.5132 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000289/0.6259, allocations: 154.7 kB / 0.5134 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.6268, allocations: 0.9065 MB / 0.5142 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/0.63, allocations: 1.343 MB / 0.5156 GB, free: 128.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/0.6503, allocations: 17.07 MB / 0.5322 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/0.6524, allocations: 2.442 MB / 0.5346 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002481/0.6548, allocations: 0.8836 MB / 0.5355 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.656, allocations: 0.9143 MB / 0.5364 GB, free: 119.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.034e-06/0.656, allocations: 0 / 0.5364 GB, free: 119.7 MB / 458.7 MB Notification: Performance of Templates: time 0.06828/0.7243, allocations: 44.98 MB / 0.5803 GB, free: 77.39 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.645757969468832]