Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 82.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.827e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4232, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.6067, allocations: 101.3 MB / 0.5648 GB, free: 14.02 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6071, allocations: 79.95 kB / 0.5649 GB, free: 13.94 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2242/0.8313, allocations: 54 MB / 0.6176 GB, free: 7.535 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8313, allocations: 0 / 0.6176 GB, free: 7.535 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.8315, allocations: 59.94 kB / 0.6177 GB, free: 7.477 MB / 459.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.009426/0.8409, allocations: 2.617 MB / 0.6202 GB, free: 4.801 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.841, allocations: 12.03 kB / 0.6202 GB, free: 4.789 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.855, allocations: 1.817 MB / 0.622 GB, free: 2.965 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006485/0.8616, allocations: 1.731 MB / 0.6237 GB, free: 1.188 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.8619, allocations: 92 kB / 0.6238 GB, free: 1.098 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.8634, allocations: 164 kB / 0.6239 GB, free: 0.9375 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01193/0.8754, allocations: 4.383 MB / 0.6282 GB, free: 12.54 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.8932, allocations: 6.066 MB / 0.6341 GB, free: 6.094 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.8934, allocations: 15.88 kB / 0.6341 GB, free: 6.078 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008612/0.8942, allocations: 8 kB / 0.6342 GB, free: 6.07 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001621/0.8959, allocations: 0.6966 MB / 0.6348 GB, free: 5.375 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3582/1.254, allocations: 22.44 MB / 0.6568 GB, free: 108.7 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/1.257, allocations: 1.555 MB / 0.6583 GB, free: 108.1 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/1.259, allocations: 0.5784 MB / 0.6588 GB, free: 108.1 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/1.259, allocations: 16.28 kB / 0.6589 GB, free: 108.1 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.259, allocations: 45.69 kB / 0.6589 GB, free: 108.1 MB / 475.1 MB Notification: Performance of pre-optimization done (n=108): time 4.428e-06/1.259, allocations: 4.844 kB / 0.6589 GB, free: 108.1 MB / 475.1 MB Notification: Performance of matching and sorting (n=108): time 0.006485/1.265, allocations: 1.543 MB / 0.6604 GB, free: 107.9 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.265, allocations: 62.05 kB / 0.6605 GB, free: 107.9 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/1.269, allocations: 1.606 MB / 0.662 GB, free: 107.7 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/1.27, allocations: 25.7 kB / 0.6621 GB, free: 107.6 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.271, allocations: 1.993 MB / 0.664 GB, free: 106.6 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006989/1.272, allocations: 410.5 kB / 0.6644 GB, free: 106.4 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/1.273, allocations: 0.9688 kB / 0.6644 GB, free: 106.4 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002992/1.273, allocations: 463 kB / 0.6648 GB, free: 106.1 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/1.275, allocations: 0.9053 MB / 0.6657 GB, free: 106.1 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/1.279, allocations: 2.97 MB / 0.6686 GB, free: 103.4 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/1.283, allocations: 1.673 MB / 0.6703 GB, free: 103.4 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.283, allocations: 26.67 kB / 0.6703 GB, free: 103.4 MB / 475.1 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.009919/1.293, allocations: 3.394 MB / 0.6736 GB, free: 102.8 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.293, allocations: 36.44 kB / 0.6736 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/1.294, allocations: 77.19 kB / 0.6737 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/1.294, allocations: 108.2 kB / 0.6738 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004797/1.299, allocations: 0.7645 MB / 0.6746 GB, free: 102.7 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/1.299, allocations: 143.6 kB / 0.6747 GB, free: 102.6 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/1.302, allocations: 385.8 kB / 0.6751 GB, free: 102.4 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000779/1.303, allocations: 212.2 kB / 0.6753 GB, free: 102.4 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 416 * 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 prepare postOptimizeDAE: time 0.0006417/1.304, allocations: 292 kB / 0.6755 GB, free: 102.1 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/1.304, allocations: 167.6 kB / 0.6757 GB, free: 102.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/1.307, allocations: 1.337 MB / 0.677 GB, free: 101.6 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/1.307, allocations: 14.36 kB / 0.677 GB, free: 101.6 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.307, allocations: 0 / 0.677 GB, free: 101.6 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.307, allocations: 7.031 kB / 0.677 GB, free: 101.6 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.319, allocations: 4.901 MB / 0.6818 GB, free: 99.58 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.319, allocations: 7.406 kB / 0.6818 GB, free: 99.58 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.321, allocations: 160.8 kB / 0.682 GB, free: 99.57 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.58e-05/1.321, allocations: 17.97 kB / 0.682 GB, free: 99.57 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/1.321, allocations: 19.17 kB / 0.682 GB, free: 99.57 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-05/1.321, allocations: 26.22 kB / 0.682 GB, free: 99.55 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/1.321, allocations: 17.47 kB / 0.6821 GB, free: 99.55 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/1.324, allocations: 2.388 MB / 0.6844 GB, free: 97.55 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/1.324, allocations: 251.1 kB / 0.6846 GB, free: 97.35 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/1.325, allocations: 16.59 kB / 0.6846 GB, free: 97.35 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.326, allocations: 23.7 kB / 0.6847 GB, free: 97.35 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.326, allocations: 100.4 kB / 0.6848 GB, free: 97.31 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.326, allocations: 49 kB / 0.6848 GB, free: 97.3 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002097/1.328, allocations: 1.063 MB / 0.6858 GB, free: 96.89 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.042e-06/1.328, allocations: 0 / 0.6858 GB, free: 96.89 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.004344/1.333, allocations: 0.7019 MB / 0.6865 GB, free: 96.7 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0005203/1.333, allocations: 153.7 kB / 0.6867 GB, free: 96.59 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.00457/1.338, allocations: 2.157 MB / 0.6888 GB, free: 95.89 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.338, allocations: 0 / 0.6888 GB, free: 95.89 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/1.339, allocations: 0.5976 MB / 0.6894 GB, free: 95.7 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.341, allocations: 182.6 kB / 0.6895 GB, free: 95.63 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.353, allocations: 5.031 MB / 0.6945 GB, free: 93.46 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004156/1.357, allocations: 2.472 MB / 0.6969 GB, free: 92.36 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/1.358, allocations: 159.1 kB / 0.697 GB, free: 92.35 MB / 475.1 MB Notification: Performance of SimCode: time 9.52e-07/1.358, allocations: 0 / 0.697 GB, free: 92.35 MB / 475.1 MB Notification: Performance of Templates: time 0.06016/1.418, allocations: 30.71 MB / 0.727 GB, free: 75.76 MB / 475.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches