Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 85.8 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 163.8 kB / 24.82 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.016/1.016, allocations: 177 MB / 205.1 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2806/0.2806, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.689e-05, allocations: 2.312 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01041/0.01043, allocations: 14.08 MB / 393.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008335/0.01876, allocations: 4.956 MB / 398.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.0201, allocations: 139.3 kB / 398.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005373/0.02548, allocations: 6.328 MB / 404.7 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.02958, allocations: 2.927 MB / 407.7 MB, free: 5.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.03179, allocations: 1.786 MB / 409.4 MB, free: 3.504 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007459/0.03925, allocations: 9.128 MB / 418.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/0.04484, allocations: 6.592 MB / 425.2 MB, free: 3.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.04938, allocations: 4.546 MB / 429.7 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004069/0.05345, allocations: 4.451 MB / 434.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007757/0.05422, allocations: 0.5898 MB / 434.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.056, allocations: 1.362 MB / 436.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002163/0.05816, allocations: 3.83 MB / 439.9 MB, free: 4.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.06025, allocations: 2.282 MB / 442.2 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1816/0.2418, allocations: 7.588 MB / 449.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2418, allocations: 0 / 449.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2418, allocations: 0 / 449.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004748/0.2423, allocations: 0 / 449.8 MB, free: 67.46 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.00961/0.2519, allocations: 8.725 MB / 458.5 MB, free: 64.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2519, allocations: 11.38 kB / 458.5 MB, free: 64.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/0.2564, allocations: 2.354 MB / 460.9 MB, free: 63.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.2604, allocations: 3.773 MB / 464.7 MB, free: 62.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.2606, allocations: 417.3 kB / 465.1 MB, free: 62.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.2612, allocations: 0.5368 MB / 465.6 MB, free: 62.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009192/0.2704, allocations: 9.278 MB / 474.9 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.2705, allocations: 70.56 kB / 475 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.2709, allocations: 263.1 kB / 475.2 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/0.2729, allocations: 2.674 MB / 477.9 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007814/0.2807, allocations: 3.989 MB / 481.9 MB, free: 57.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0487/0.3294, allocations: 70.93 MB / 0.5399 GB, free: 17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006956/0.3364, allocations: 3.18 MB / 0.543 GB, free: 16.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.3371, allocations: 0.6579 MB / 0.5436 GB, free: 16.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007863/0.345, allocations: 6.027 MB / 0.5495 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.345, allocations: 56.95 kB / 0.5495 GB, free: 13.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.316e-06/0.345, allocations: 0 / 0.5495 GB, free: 13.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02406/0.3691, allocations: 7.936 MB / 0.5573 GB, free: 7.016 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.3691, allocations: 155.8 kB / 0.5574 GB, free: 6.836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.3744, allocations: 5.48 MB / 0.5628 GB, free: 2.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004019/0.3748, allocations: 57.7 kB / 0.5629 GB, free: 2.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004399/0.3792, allocations: 5.542 MB / 0.5683 GB, free: 13.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.3803, allocations: 0.8832 MB / 0.5691 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002023/0.3824, allocations: 1.859 MB / 0.5709 GB, free: 10.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3825, allocations: 478.5 kB / 0.5714 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3836, allocations: 0.6955 MB / 0.5721 GB, free: 9.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006012/0.3896, allocations: 8.66 MB / 0.5805 GB, free: 13.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009443/0.399, allocations: 10.3 MB / 0.5906 GB, free: 15.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002401/0.3993, allocations: 56 kB / 0.5907 GB, free: 15.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0132/0.4125, allocations: 6.61 MB / 0.5971 GB, free: 9.324 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.4126, allocations: 84 kB / 0.5972 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/0.4127, allocations: 192 kB / 0.5974 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.4129, allocations: 248 kB / 0.5976 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003957/0.4169, allocations: 1.887 MB / 0.5994 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002058/0.4171, allocations: 378.3 kB / 0.5998 GB, free: 6.555 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005674/0.4227, allocations: 369.9 kB / 0.6002 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000931/0.4237, allocations: 458.1 kB / 0.6006 GB, free: 5.75 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.003154/0.4268, allocations: 0.8733 MB / 0.6015 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/0.4281, allocations: 0.563 MB / 0.602 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.429, allocations: 490 kB / 0.6025 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.337e-05/0.4291, allocations: 24 kB / 0.6025 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.4291, allocations: 3.938 kB / 0.6025 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.4291, allocations: 11.95 kB / 0.6025 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2113/0.6404, allocations: 10.09 MB / 0.6124 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.276e-05/0.6405, allocations: 52.06 kB / 0.6124 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6415, allocations: 434.2 kB / 0.6128 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.507e-05/0.6416, allocations: 58.81 kB / 0.6129 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.6417, allocations: 102.2 kB / 0.613 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/0.6418, allocations: 88.47 kB / 0.6131 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.961e-05/0.6418, allocations: 72.53 kB / 0.6131 GB, free: 134.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.6453, allocations: 4.035 MB / 0.6171 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.6464, allocations: 0.5707 MB / 0.6176 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005876/0.647, allocations: 110.5 kB / 0.6177 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.6488, allocations: 84.88 kB / 0.6178 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.649, allocations: 326.8 kB / 0.6181 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.6492, allocations: 109.8 kB / 0.6182 GB, free: 130.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003434/0.6526, allocations: 2.236 MB / 0.6204 GB, free: 130.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6526, allocations: 3.469 kB / 0.6204 GB, free: 130.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007682/0.6603, allocations: 1.491 MB / 0.6219 GB, free: 130.7 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.0006772/0.661, allocations: 287.1 kB / 0.6222 GB, free: 130.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.6668, allocations: 3.493 MB / 0.6256 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.394e-05/0.6668, allocations: 9.281 kB / 0.6256 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.668, allocations: 0.7224 MB / 0.6263 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/0.6734, allocations: 0.8289 MB / 0.6271 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.6949, allocations: 13.72 MB / 0.6405 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/0.6982, allocations: 2.104 MB / 0.6425 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002952/0.7012, allocations: 0.7686 MB / 0.6433 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.7024, allocations: 0.8781 MB / 0.6442 GB, free: 121.4 MB / 474.7 MB Notification: Performance of SimCode: time 3.277e-06/0.7024, allocations: 3.938 kB / 0.6442 GB, free: 121.4 MB / 474.7 MB Notification: Performance of Templates: time 0.06713/0.7696, allocations: 37.83 MB / 0.6811 GB, free: 95.91 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.909181513823569]