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.001308/0.001308, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001192/0.001192, allocations: 171.8 kB / 24.82 MB, free: 8.883 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3427/0.3427, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.915e-06/2.915e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.798e-05/4.09e-05, allocations: 9.547 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01521/0.01525, allocations: 14.08 MB / 392.6 MB, free: 4.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.02703, allocations: 4.94 MB / 397.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.03085, allocations: 143.2 kB / 397.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008745/0.0396, allocations: 6.34 MB / 404 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00745/0.04705, allocations: 2.924 MB / 406.9 MB, free: 5.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.04999, allocations: 1.782 MB / 408.7 MB, free: 4.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009375/0.05937, allocations: 9.136 MB / 417.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006791/0.06616, allocations: 6.6 MB / 424.4 MB, free: 4.234 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007135/0.07329, allocations: 4.542 MB / 429 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006013/0.07931, allocations: 4.455 MB / 433.4 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.08071, allocations: 0.5859 MB / 434 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.08314, allocations: 1.362 MB / 435.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0027/0.08584, allocations: 3.826 MB / 439.2 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.08871, allocations: 2.29 MB / 441.5 MB, free: 3.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2529/0.3416, allocations: 7.585 MB / 449.1 MB, free: 67.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3416, allocations: 0 / 449.1 MB, free: 67.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3416, allocations: 0 / 449.1 MB, free: 67.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007159/0.3424, allocations: 1.281 kB / 449.1 MB, free: 67.51 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.02481/0.3672, allocations: 8.724 MB / 457.8 MB, free: 64.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.542e-05/0.3673, allocations: 10.09 kB / 457.8 MB, free: 64.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.3793, allocations: 2.355 MB / 460.2 MB, free: 63.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009505/0.3888, allocations: 3.774 MB / 464 MB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000474/0.3893, allocations: 417.7 kB / 464.4 MB, free: 62.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/0.392, allocations: 0.537 MB / 464.9 MB, free: 62.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.421, allocations: 9.275 MB / 474.2 MB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004726/0.4214, allocations: 68.75 kB / 474.2 MB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/0.4237, allocations: 263.9 kB / 474.5 MB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.4271, allocations: 2.68 MB / 477.2 MB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.4448, allocations: 3.982 MB / 481.2 MB, free: 57.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08967/0.5344, allocations: 70.93 MB / 0.5392 GB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009234/0.5437, allocations: 3.182 MB / 0.5423 GB, free: 16.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.5459, allocations: 0.6601 MB / 0.5429 GB, free: 16.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/0.5612, allocations: 6.018 MB / 0.5488 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.5613, allocations: 61.98 kB / 0.5488 GB, free: 13.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 6.512e-06/0.5613, allocations: 0 / 0.5488 GB, free: 13.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02409/0.5854, allocations: 7.936 MB / 0.5566 GB, free: 7.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.5854, allocations: 157.7 kB / 0.5567 GB, free: 7.176 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006965/0.5924, allocations: 5.481 MB / 0.5621 GB, free: 2.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000517/0.5929, allocations: 57.61 kB / 0.5621 GB, free: 2.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004321/0.5973, allocations: 5.545 MB / 0.5676 GB, free: 13.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/0.5987, allocations: 0.8759 MB / 0.5684 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002494/0.6012, allocations: 1.856 MB / 0.5702 GB, free: 11.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6013, allocations: 480.8 kB / 0.5707 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.6028, allocations: 0.6955 MB / 0.5714 GB, free: 9.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006605/0.6095, allocations: 8.664 MB / 0.5798 GB, free: 13.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/0.6212, allocations: 10.3 MB / 0.5899 GB, free: 500 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003055/0.6215, allocations: 60 kB / 0.5899 GB, free: 440 kB / 458.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01483/0.6363, allocations: 6.602 MB / 0.5964 GB, free: 9.824 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.6365, allocations: 90.69 kB / 0.5965 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/0.6367, allocations: 192 kB / 0.5967 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.6369, allocations: 252 kB / 0.5969 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/0.6415, allocations: 1.883 MB / 0.5987 GB, free: 7.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.6418, allocations: 378.3 kB / 0.5991 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006278/0.6481, allocations: 371.5 kB / 0.5995 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/0.6494, allocations: 460 kB / 0.5999 GB, free: 6.242 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.003778/0.6532, allocations: 0.8706 MB / 0.6007 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/0.6548, allocations: 0.5591 MB / 0.6013 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6559, allocations: 490 kB / 0.6018 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.6559, allocations: 20 kB / 0.6018 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.6559, allocations: 7.938 kB / 0.6018 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.656, allocations: 15.91 kB / 0.6018 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2955/0.9515, allocations: 10.08 MB / 0.6116 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.181e-05/0.9516, allocations: 49.44 kB / 0.6117 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/0.9526, allocations: 437.9 kB / 0.6121 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.412e-05/0.9526, allocations: 60.97 kB / 0.6122 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.9528, allocations: 102 kB / 0.6123 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-05/0.9528, allocations: 93.53 kB / 0.6124 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-05/0.9528, allocations: 70.06 kB / 0.6124 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.957, allocations: 4.038 MB / 0.6164 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/0.9588, allocations: 0.5699 MB / 0.6169 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008029/0.9596, allocations: 106.3 kB / 0.617 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.9612, allocations: 88.55 kB / 0.6171 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.9615, allocations: 319.4 kB / 0.6174 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.9616, allocations: 115.4 kB / 0.6175 GB, free: 131.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004354/0.966, allocations: 2.233 MB / 0.6197 GB, free: 130.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.966, allocations: 0 / 0.6197 GB, free: 130.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01018/0.9762, allocations: 1.493 MB / 0.6212 GB, free: 130.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.001357/0.9775, allocations: 296.3 kB / 0.6214 GB, free: 130.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008146/0.9857, allocations: 3.485 MB / 0.6248 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.89e-05/0.9858, allocations: 5.125 kB / 0.6249 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.9873, allocations: 0.7275 MB / 0.6256 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/0.9941, allocations: 0.8338 MB / 0.6264 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03223/1.026, allocations: 13.72 MB / 0.6398 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006479/1.033, allocations: 2.107 MB / 0.6418 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00411/1.037, allocations: 0.7686 MB / 0.6426 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/1.039, allocations: 0.88 MB / 0.6434 GB, free: 121.8 MB / 474.7 MB Notification: Performance of SimCode: time 3.627e-06/1.039, allocations: 0 / 0.6434 GB, free: 121.8 MB / 474.7 MB Notification: Performance of Templates: time 0.08287/1.122, allocations: 37.84 MB / 0.6804 GB, free: 96.51 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.778453838080168]