Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 118.7 kB / 17.78 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 203.8 kB / 18.73 MB, free: 4.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 75.88 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3911, allocations: 62.45 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0208/0.4119, allocations: 14.99 MB / 0.5456 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.4269, allocations: 5.041 MB / 0.5506 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004604/0.4316, allocations: 127.6 kB / 0.5507 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.444, allocations: 5.962 MB / 0.5565 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008609/0.4527, allocations: 2.735 MB / 0.5592 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.457, allocations: 1.579 MB / 0.5607 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01312/0.4702, allocations: 7.782 MB / 0.5683 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.483, allocations: 7.386 MB / 0.5755 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006955/0.49, allocations: 2.933 MB / 0.5784 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006936/0.497, allocations: 3.789 MB / 0.5821 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002595/0.4996, allocations: 0.5742 MB / 0.5827 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.504, allocations: 1.397 MB / 0.584 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005446/0.5095, allocations: 3.53 MB / 0.5875 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00763/0.5172, allocations: 3.829 MB / 0.5912 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.5321, allocations: 11.6 MB / 0.6025 GB, free: 8.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5322, allocations: 0 / 0.6025 GB, free: 8.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5322, allocations: 0 / 0.6025 GB, free: 8.215 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004677/0.5326, allocations: 0 / 0.6025 GB, free: 8.215 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.02512/0.5578, allocations: 8.452 MB / 0.6108 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5579, allocations: 8.031 kB / 0.6108 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.5691, allocations: 2.475 MB / 0.6132 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009466/0.5786, allocations: 4.512 MB / 0.6176 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/0.5791, allocations: 430.5 kB / 0.618 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.5809, allocations: 0.5349 MB / 0.6185 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/0.611, allocations: 16.69 MB / 0.6348 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.6112, allocations: 67.39 kB / 0.6349 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006726/0.6118, allocations: 267.8 kB / 0.6352 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004344/0.6162, allocations: 2.924 MB / 0.638 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02966/0.6459, allocations: 12.78 MB / 0.6505 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08479/0.7307, allocations: 63.98 MB / 0.713 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.533/1.264, allocations: 5.486 MB / 0.7183 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.268, allocations: 2.119 MB / 0.7204 GB, free: 159.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/1.283, allocations: 9.936 MB / 0.7301 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.283, allocations: 51.59 kB / 0.7302 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.52e-06/1.283, allocations: 2.281 kB / 0.7302 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03375/1.317, allocations: 14.05 MB / 0.7439 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.317, allocations: 155.2 kB / 0.744 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.324, allocations: 6.28 MB / 0.7502 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/1.324, allocations: 57.7 kB / 0.7502 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002196/1.326, allocations: 5.081 MB / 0.7552 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/1.327, allocations: 0.8235 MB / 0.756 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/1.328, allocations: 1.673 MB / 0.7576 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/1.328, allocations: 304.4 kB / 0.7579 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/1.331, allocations: 2.324 MB / 0.7602 GB, free: 135.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/1.336, allocations: 7.681 MB / 0.7677 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/1.344, allocations: 10.87 MB / 0.7783 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.344, allocations: 56 kB / 0.7784 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0134/1.357, allocations: 9.656 MB / 0.7878 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/1.357, allocations: 88 kB / 0.7879 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/1.357, allocations: 188 kB / 0.788 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/1.358, allocations: 251.9 kB / 0.7883 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/1.363, allocations: 1.926 MB / 0.7902 GB, free: 99.24 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001795/1.363, allocations: 370.5 kB / 0.7905 GB, free: 98.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005182/1.368, allocations: 407.8 kB / 0.7909 GB, free: 98.48 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006822/1.369, allocations: 0.5117 MB / 0.7914 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 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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.004099/1.373, allocations: 3.3 MB / 0.7946 GB, free: 94.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008219/1.374, allocations: 0.5244 MB / 0.7951 GB, free: 94.12 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/1.375, allocations: 0.6239 MB / 0.7958 GB, free: 93.49 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/1.375, allocations: 24 kB / 0.7958 GB, free: 93.47 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.375, allocations: 0 / 0.7958 GB, free: 93.47 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.375, allocations: 7.969 kB / 0.7958 GB, free: 93.46 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.396, allocations: 16.46 MB / 0.8119 GB, free: 76.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.646e-05/1.396, allocations: 36 kB / 0.8119 GB, free: 76.41 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.398, allocations: 391.2 kB / 0.8123 GB, free: 76.03 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-05/1.398, allocations: 48 kB / 0.8123 GB, free: 75.98 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/1.398, allocations: 84 kB / 0.8124 GB, free: 75.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.442e-05/1.398, allocations: 75.72 kB / 0.8125 GB, free: 75.82 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-05/1.398, allocations: 59.75 kB / 0.8125 GB, free: 75.77 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/1.401, allocations: 3.931 MB / 0.8164 GB, free: 71.28 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.403, allocations: 0.615 MB / 0.817 GB, free: 70.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.404, allocations: 95.41 kB / 0.8171 GB, free: 70.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.407, allocations: 99.94 kB / 0.8171 GB, free: 70.45 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/1.407, allocations: 254.8 kB / 0.8174 GB, free: 70.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.407, allocations: 116.1 kB / 0.8175 GB, free: 70.09 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006/1.413, allocations: 3.931 MB / 0.8213 GB, free: 66.16 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.11e-07/1.413, allocations: 3.938 kB / 0.8213 GB, free: 66.16 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007603/1.421, allocations: 1.317 MB / 0.8226 GB, free: 64.85 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0005796/1.421, allocations: 236.9 kB / 0.8229 GB, free: 64.61 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00739/1.429, allocations: 5.432 MB / 0.8282 GB, free: 59.25 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/1.429, allocations: 8 kB / 0.8282 GB, free: 59.24 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/1.43, allocations: 1.129 MB / 0.8293 GB, free: 58.12 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00542/1.435, allocations: 0.8538 MB / 0.8301 GB, free: 57.28 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/1.458, allocations: 14.75 MB / 0.8445 GB, free: 41.96 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008464/1.466, allocations: 5.06 MB / 0.8494 GB, free: 36.86 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006047/1.472, allocations: 2.522 MB / 0.8519 GB, free: 34.34 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.474, allocations: 351.4 kB / 0.8522 GB, free: 33.99 MB / 0.5607 GB Notification: Performance of SimCode: time 1.072e-06/1.474, allocations: 0 / 0.8522 GB, free: 33.99 MB / 0.5607 GB Notification: Performance of Templates: time 0.07823/1.552, allocations: 38.33 MB / 0.8897 GB, free: 11.96 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches