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.001178/0.001178, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001086/0.001086, allocations: 166.8 kB / 24.83 MB, free: 9.25 MB / 18.57 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.8665/0.8665, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.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.147/0.147, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.403e-06/1.403e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.238e-05, allocations: 5.406 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01171/0.01174, allocations: 16.82 MB / 365.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02219, allocations: 5.315 MB / 371.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003511/0.0257, allocations: 151.3 kB / 371.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008799/0.0345, allocations: 6.475 MB / 377.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00902/0.04352, allocations: 3.394 MB / 381.1 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.04716, allocations: 1.797 MB / 382.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.05923, allocations: 9.63 MB / 392.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009979/0.0692, allocations: 7.01 MB / 399.5 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/0.08024, allocations: 5.052 MB / 404.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007685/0.08793, allocations: 5.012 MB / 409.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002507/0.09043, allocations: 0.6797 MB / 410.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.09482, allocations: 1.479 MB / 411.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00688/0.1017, allocations: 4.379 MB / 416.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005688/0.1074, allocations: 2.629 MB / 418.7 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.1194, allocations: 8.791 MB / 427.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.1194, allocations: 0 / 427.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1194, allocations: 0 / 427.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006381/0.1201, allocations: 0 / 427.5 MB, free: 10.23 MB / 362.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.01879/0.1389, allocations: 9.862 MB / 437.4 MB, free: 280 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1389, allocations: 8.031 kB / 437.4 MB, free: 272 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2851/0.424, allocations: 2.691 MB / 440.1 MB, free: 62.2 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006917/0.4309, allocations: 4.189 MB / 444.3 MB, free: 61.68 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.4313, allocations: 477.1 kB / 444.7 MB, free: 61.67 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.4329, allocations: 0.6158 MB / 445.4 MB, free: 61.66 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.452, allocations: 10.44 MB / 455.8 MB, free: 56.78 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/0.4523, allocations: 75.14 kB / 455.9 MB, free: 56.78 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006945/0.453, allocations: 296.8 kB / 456.2 MB, free: 56.78 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.4558, allocations: 3.35 MB / 459.5 MB, free: 56.76 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.4702, allocations: 4.619 MB / 464.1 MB, free: 53.95 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06755/0.5378, allocations: 78.95 MB / 0.5304 GB, free: 8.344 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008939/0.5467, allocations: 3.547 MB / 0.5338 GB, free: 4.805 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.5482, allocations: 0.7987 MB / 0.5346 GB, free: 4.008 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.5597, allocations: 6.598 MB / 0.541 GB, free: 13.75 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.5598, allocations: 61.81 kB / 0.5411 GB, free: 13.68 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 5.04e-06/0.5598, allocations: 3.844 kB / 0.5411 GB, free: 13.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.02404/0.5838, allocations: 8.858 MB / 0.5498 GB, free: 5.125 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.5839, allocations: 162.4 kB / 0.5499 GB, free: 4.941 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005691/0.5896, allocations: 5.852 MB / 0.5556 GB, free: 48 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005281/0.5901, allocations: 68.81 kB / 0.5557 GB, free: 15.99 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003514/0.5937, allocations: 6.259 MB / 0.5618 GB, free: 10.02 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/0.5951, allocations: 1.129 MB / 0.5629 GB, free: 8.949 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002043/0.5971, allocations: 2.081 MB / 0.5649 GB, free: 7.074 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5973, allocations: 484.7 kB / 0.5654 GB, free: 6.598 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.5989, allocations: 0.8422 MB / 0.5662 GB, free: 5.75 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/0.6049, allocations: 9.596 MB / 0.5756 GB, free: 8.504 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009358/0.6143, allocations: 11.5 MB / 0.5868 GB, free: 9.332 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/0.6145, allocations: 60 kB / 0.5869 GB, free: 9.273 MB / 458.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.0156/0.6301, allocations: 7.498 MB / 0.5942 GB, free: 1.777 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.6303, allocations: 92 kB / 0.5943 GB, free: 1.688 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002897/0.6306, allocations: 212.1 kB / 0.5945 GB, free: 1.48 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.6308, allocations: 278.1 kB / 0.5948 GB, free: 1.211 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1981/0.8289, allocations: 2.158 MB / 0.5969 GB, free: 125.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003487/0.8292, allocations: 408.7 kB / 0.5973 GB, free: 125.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/0.8355, allocations: 411.5 kB / 0.5977 GB, free: 125.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.8369, allocations: 0.5102 MB / 0.5982 GB, free: 125.2 MB / 458.8 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.00339/0.8402, allocations: 0.953 MB / 0.5991 GB, free: 125 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/0.8419, allocations: 0.6279 MB / 0.5997 GB, free: 125 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.845, allocations: 1.569 MB / 0.6012 GB, free: 124.9 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/0.8451, allocations: 37.59 kB / 0.6013 GB, free: 124.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8451, allocations: 1.734 kB / 0.6013 GB, free: 124.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.8451, allocations: 14.69 kB / 0.6013 GB, free: 124.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/0.8692, allocations: 13.45 MB / 0.6144 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.741e-05/0.8693, allocations: 65.75 kB / 0.6145 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.8705, allocations: 0.5904 MB / 0.6151 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-05/0.8705, allocations: 84.56 kB / 0.6151 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.8707, allocations: 139.7 kB / 0.6153 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.355e-05/0.8708, allocations: 122.7 kB / 0.6154 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.801e-05/0.8708, allocations: 103.6 kB / 0.6155 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00505/0.8758, allocations: 5.471 MB / 0.6208 GB, free: 116.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/0.8775, allocations: 0.6641 MB / 0.6215 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007368/0.8783, allocations: 144.7 kB / 0.6216 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/0.8802, allocations: 121.6 kB / 0.6217 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/0.8807, allocations: 436.8 kB / 0.6221 GB, free: 116.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/0.881, allocations: 159.7 kB / 0.6223 GB, free: 116.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004268/0.8852, allocations: 2.385 MB / 0.6246 GB, free: 115.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8852, allocations: 0 / 0.6246 GB, free: 115.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009178/0.8944, allocations: 1.76 MB / 0.6263 GB, free: 115.8 MB / 458.8 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.0009736/0.8954, allocations: 349.1 kB / 0.6267 GB, free: 115.8 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006107/0.9015, allocations: 4.096 MB / 0.6307 GB, free: 115.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.825e-05/0.9015, allocations: 14.06 kB / 0.6307 GB, free: 115.6 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.9029, allocations: 0.9663 MB / 0.6316 GB, free: 115.6 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/0.9078, allocations: 0.9016 MB / 0.6325 GB, free: 115.5 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/0.9295, allocations: 16.5 MB / 0.6486 GB, free: 100.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.9323, allocations: 2.461 MB / 0.651 GB, free: 99.11 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002751/0.9351, allocations: 0.8729 MB / 0.6519 GB, free: 98.47 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/0.9364, allocations: 0.98 MB / 0.6528 GB, free: 97.59 MB / 458.8 MB Notification: Performance of SimCode: time 2.624e-06/0.9364, allocations: 0 / 0.6528 GB, free: 97.59 MB / 458.8 MB Notification: Performance of Templates: time 0.08257/1.019, allocations: 45 MB / 0.6968 GB, free: 54.81 MB / 458.8 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 -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: 5.447917032055557]