Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000923/0.000923, allocations: 200 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006844/0.0006844, allocations: 98.83 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1787/0.1787, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.000234, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09309, allocations: 62.96 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2636/0.3568, allocations: 90.23 MB / 0.6034 GB, free: 3.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03781/0.3946, allocations: 18.13 MB / 0.6211 GB, free: 1.023 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01544/0.4101, allocations: 442.9 kB / 0.6216 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.4235, allocations: 4.848 MB / 0.6263 GB, free: 11.72 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03334/0.4568, allocations: 14.17 MB / 0.6401 GB, free: 13.51 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.4623, allocations: 1.257 MB / 0.6414 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.4737, allocations: 9.163 MB / 0.6503 GB, free: 3.07 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.486, allocations: 9.021 MB / 0.6591 GB, free: 9.973 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003932/0.49, allocations: 2.452 MB / 0.6615 GB, free: 7.512 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004546/0.4945, allocations: 3.525 MB / 0.665 GB, free: 3.977 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009964/0.4956, allocations: 256 kB / 0.6652 GB, free: 3.727 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.4977, allocations: 0.9402 MB / 0.6661 GB, free: 2.785 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002874/0.5006, allocations: 3.14 MB / 0.6692 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.5021, allocations: 1.438 MB / 0.6706 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008363/0.5105, allocations: 9.262 MB / 0.6796 GB, free: 4.902 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5105, allocations: 0 / 0.6796 GB, free: 4.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5105, allocations: 0 / 0.6796 GB, free: 4.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00025/0.5108, allocations: 4 kB / 0.6796 GB, free: 4.898 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01182/0.5226, allocations: 7.296 MB / 0.6868 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5227, allocations: 12.03 kB / 0.6868 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008993/0.5317, allocations: 2.638 MB / 0.6894 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007334/0.539, allocations: 4.393 MB / 0.6936 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.5393, allocations: 434.9 kB / 0.6941 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000983/0.5403, allocations: 0.5582 MB / 0.6946 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/0.5672, allocations: 17.43 MB / 0.7116 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.5674, allocations: 79.34 kB / 0.7117 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006578/0.5681, allocations: 267.8 kB / 0.712 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3385/0.9066, allocations: 3.164 MB / 0.715 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/0.9344, allocations: 13.39 MB / 0.7281 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06674/1.001, allocations: 65.96 MB / 0.7925 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.014, allocations: 5.498 MB / 0.7979 GB, free: 98.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/1.017, allocations: 2.11 MB / 0.8 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/1.03, allocations: 10 MB / 0.8097 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.03, allocations: 55.88 kB / 0.8098 GB, free: 86.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 4.819e-06/1.03, allocations: 0 / 0.8098 GB, free: 86.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.03058/1.06, allocations: 14.31 MB / 0.8238 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.06, allocations: 153.8 kB / 0.8239 GB, free: 71.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0063/1.067, allocations: 6.349 MB / 0.8301 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/1.067, allocations: 59.89 kB / 0.8302 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.069, allocations: 5.242 MB / 0.8353 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/1.07, allocations: 0.8148 MB / 0.8361 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.07, allocations: 165.7 kB / 0.8362 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002677/1.07, allocations: 0.6657 MB / 0.8369 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/1.073, allocations: 2.32 MB / 0.8392 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/1.078, allocations: 7.729 MB / 0.8467 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/1.082, allocations: 4.094 MB / 0.8507 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.982e-05/1.082, allocations: 52 kB / 0.8507 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01296/1.095, allocations: 9.681 MB / 0.8602 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/1.095, allocations: 92.22 kB / 0.8603 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.095, allocations: 192 kB / 0.8605 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/1.096, allocations: 280 kB / 0.8607 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004805/1.1, allocations: 1.945 MB / 0.8626 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001931/1.101, allocations: 374.5 kB / 0.863 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.105, allocations: 418.4 kB / 0.8634 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/1.106, allocations: 0.5156 MB / 0.8639 GB, free: 28.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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 (1055): * Single equations (assignments): 1044 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003869/1.11, allocations: 3.412 MB / 0.8672 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/1.11, allocations: 0.536 MB / 0.8678 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/1.111, allocations: 0.6248 MB / 0.8684 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/1.111, allocations: 25.17 kB / 0.8684 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.111, allocations: 192 / 0.8684 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.111, allocations: 7.969 kB / 0.8684 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.131, allocations: 16.71 MB / 0.8847 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.684e-05/1.131, allocations: 36 kB / 0.8847 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.132, allocations: 387.3 kB / 0.8851 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.939e-05/1.132, allocations: 56 kB / 0.8852 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.132, allocations: 84.67 kB / 0.8853 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.579e-05/1.132, allocations: 72.34 kB / 0.8853 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.326e-05/1.132, allocations: 63.75 kB / 0.8854 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/1.135, allocations: 3.933 MB / 0.8892 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008449/1.136, allocations: 0.6188 MB / 0.8898 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/1.136, allocations: 87.97 kB / 0.8899 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/1.138, allocations: 107.9 kB / 0.89 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.138, allocations: 258.9 kB / 0.8903 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.138, allocations: 113.1 kB / 0.8904 GB, free: 15.77 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005199/1.144, allocations: 3.945 MB / 0.8942 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2e-07/1.144, allocations: 0 / 0.8942 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.006398/1.15, allocations: 1.368 MB / 0.8956 GB, free: 10.47 MB / 0.5262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004295/1.15, allocations: 249.5 kB / 0.8958 GB, free: 10.23 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.007793/1.158, allocations: 5.338 MB / 0.901 GB, free: 4.941 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-05/1.158, allocations: 8 kB / 0.901 GB, free: 4.934 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.16, allocations: 1.13 MB / 0.9021 GB, free: 3.812 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/1.164, allocations: 0.8447 MB / 0.9029 GB, free: 2.977 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2156/1.38, allocations: 18.92 MB / 0.9214 GB, free: 172.2 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008784/1.389, allocations: 5.227 MB / 0.9265 GB, free: 171.4 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.39, allocations: 415 kB / 0.9269 GB, free: 171.4 MB / 0.5418 GB Notification: Performance of SimCode: time 1.232e-06/1.39, allocations: 1.156 kB / 0.9269 GB, free: 171.4 MB / 0.5418 GB Notification: Performance of Templates: time 0.1119/1.502, allocations: 85.62 MB / 1.011 GB, free: 113.9 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches