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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001262, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 71.89 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01394/0.2912, allocations: 14.99 MB / 0.5463 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3012, allocations: 5.046 MB / 0.5512 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.3043, allocations: 119.7 kB / 0.5513 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009978/0.3143, allocations: 5.978 MB / 0.5572 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006729/0.3211, allocations: 2.802 MB / 0.5599 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.3243, allocations: 1.587 MB / 0.5615 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009808/0.3341, allocations: 7.782 MB / 0.5691 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008432/0.3426, allocations: 7.382 MB / 0.5763 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.3469, allocations: 2.937 MB / 0.5791 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.3518, allocations: 3.786 MB / 0.5828 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.3535, allocations: 0.5703 MB / 0.5834 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.357, allocations: 1.401 MB / 0.5848 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00437/0.3614, allocations: 3.527 MB / 0.5882 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005568/0.367, allocations: 3.825 MB / 0.5919 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.3793, allocations: 11.61 MB / 0.6033 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3793, allocations: 0 / 0.6033 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3793, allocations: 0 / 0.6033 GB, free: 8.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003249/0.3797, allocations: 0 / 0.6033 GB, free: 8.07 MB / 462.1 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.01642/0.3961, allocations: 8.448 MB / 0.6115 GB, free: 15.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3962, allocations: 8.031 kB / 0.6115 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008943/0.4051, allocations: 2.471 MB / 0.6139 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008088/0.4132, allocations: 4.512 MB / 0.6184 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.4136, allocations: 434.5 kB / 0.6188 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.4151, allocations: 0.5387 MB / 0.6193 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/0.4425, allocations: 16.68 MB / 0.6356 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.4428, allocations: 75.33 kB / 0.6357 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.4438, allocations: 267.8 kB / 0.6359 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003747/0.4476, allocations: 2.924 MB / 0.6388 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.4718, allocations: 12.79 MB / 0.6513 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07345/0.5453, allocations: 63.96 MB / 0.7137 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3966/0.9419, allocations: 5.381 MB / 0.719 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.9448, allocations: 2.113 MB / 0.721 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/0.9579, allocations: 9.926 MB / 0.7307 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.958, allocations: 60.62 kB / 0.7308 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.388e-06/0.958, allocations: 1.656 kB / 0.7308 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.02905/0.9871, allocations: 13.96 MB / 0.7444 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.9871, allocations: 149.1 kB / 0.7446 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/0.9931, allocations: 6.289 MB / 0.7507 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.9933, allocations: 53.7 kB / 0.7508 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.9952, allocations: 5.084 MB / 0.7557 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.9957, allocations: 0.8234 MB / 0.7565 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/0.9971, allocations: 1.67 MB / 0.7582 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.9971, allocations: 301.1 kB / 0.7584 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.9996, allocations: 2.331 MB / 0.7607 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003875/1.004, allocations: 7.674 MB / 0.7682 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00714/1.011, allocations: 10.87 MB / 0.7788 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.269e-05/1.011, allocations: 52 kB / 0.7789 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0119/1.023, allocations: 9.647 MB / 0.7883 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.023, allocations: 88 kB / 0.7884 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.023, allocations: 193.1 kB / 0.7886 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/1.023, allocations: 255.9 kB / 0.7888 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/1.028, allocations: 1.926 MB / 0.7907 GB, free: 99.23 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001793/1.028, allocations: 374.5 kB / 0.7911 GB, free: 98.87 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/1.033, allocations: 411.5 kB / 0.7914 GB, free: 98.47 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006592/1.033, allocations: 0.5117 MB / 0.7919 GB, free: 97.96 MB / 0.5607 GB 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.003577/1.037, allocations: 3.284 MB / 0.7952 GB, free: 94.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/1.038, allocations: 0.5282 MB / 0.7957 GB, free: 94.13 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009928/1.039, allocations: 0.6318 MB / 0.7963 GB, free: 93.49 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.039, allocations: 20 kB / 0.7963 GB, free: 93.47 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.039, allocations: 3.938 kB / 0.7963 GB, free: 93.46 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.039, allocations: 11.97 kB / 0.7963 GB, free: 93.45 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/1.055, allocations: 14.99 MB / 0.811 GB, free: 77.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.085e-05/1.055, allocations: 48 kB / 0.811 GB, free: 77.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.056, allocations: 447.1 kB / 0.8114 GB, free: 77.31 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.166e-05/1.056, allocations: 64 kB / 0.8115 GB, free: 77.25 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.057, allocations: 99.94 kB / 0.8116 GB, free: 77.15 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/1.057, allocations: 95.58 kB / 0.8117 GB, free: 77.06 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.553e-05/1.057, allocations: 71.69 kB / 0.8117 GB, free: 76.99 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.06, allocations: 4.297 MB / 0.8159 GB, free: 71.98 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/1.061, allocations: 0.6267 MB / 0.8166 GB, free: 71.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/1.061, allocations: 108 kB / 0.8167 GB, free: 71.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.063, allocations: 107.9 kB / 0.8168 GB, free: 71.12 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.063, allocations: 309.6 kB / 0.8171 GB, free: 70.82 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.063, allocations: 128 kB / 0.8172 GB, free: 70.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004443/1.068, allocations: 3.935 MB / 0.821 GB, free: 66.77 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.5e-07/1.068, allocations: 4 kB / 0.821 GB, free: 66.77 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005935/1.074, allocations: 1.318 MB / 0.8223 GB, free: 65.45 MB / 0.5607 GB 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.0004066/1.074, allocations: 276.3 kB / 0.8226 GB, free: 65.18 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006155/1.08, allocations: 5.477 MB / 0.8279 GB, free: 59.77 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.308e-05/1.08, allocations: 8 kB / 0.8279 GB, free: 59.77 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.081, allocations: 1.198 MB / 0.8291 GB, free: 58.58 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/1.086, allocations: 0.8903 MB / 0.83 GB, free: 57.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.105, allocations: 15.77 MB / 0.8454 GB, free: 41.24 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/1.109, allocations: 5.056 MB / 0.8503 GB, free: 36.15 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.11, allocations: 419.4 kB / 0.8507 GB, free: 35.74 MB / 0.5607 GB Notification: Performance of SimCode: time 7.11e-07/1.11, allocations: 3.938 kB / 0.8507 GB, free: 35.73 MB / 0.5607 GB Notification: Performance of Templates: time 0.1045/1.215, allocations: 85.1 MB / 0.9338 GB, free: 14.7 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches