Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001825/0.001832, allocations: 175.4 kB / 8.004 MB, free: 1.07 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.741/1.741, allocations: 205.3 MB / 213.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009252, allocations: 94.14 kB / 261.7 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2649/0.2649, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.646e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5407, allocations: 101.3 MB / 0.5648 GB, free: 10.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5409, allocations: 84.67 kB / 0.5649 GB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1254/0.6663, allocations: 54.01 MB / 0.6176 GB, free: 12.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.6664, allocations: 0 / 0.6176 GB, free: 12.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.946e-05/0.6665, allocations: 59.94 kB / 0.6177 GB, free: 12.31 MB / 426.7 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.004946/0.6714, allocations: 2.612 MB / 0.6202 GB, free: 9.855 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6715, allocations: 12.03 kB / 0.6203 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006798/0.6783, allocations: 1.818 MB / 0.622 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.6815, allocations: 1.733 MB / 0.6237 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.6816, allocations: 92 kB / 0.6238 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.682, allocations: 164 kB / 0.624 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006122/0.6882, allocations: 4.383 MB / 0.6282 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/0.6961, allocations: 6.062 MB / 0.6342 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.215e-05/0.6961, allocations: 19.81 kB / 0.6342 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.6964, allocations: 8 kB / 0.6342 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008469/0.6973, allocations: 0.6889 MB / 0.6349 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02546/0.7228, allocations: 22.46 MB / 0.6568 GB, free: 3.379 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.7245, allocations: 1.554 MB / 0.6583 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.7252, allocations: 0.5781 MB / 0.6589 GB, free: 1.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.7253, allocations: 17.92 kB / 0.6589 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7253, allocations: 43.34 kB / 0.6589 GB, free: 1.051 MB / 458.7 MB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.7254, allocations: 0 / 0.6589 GB, free: 1.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.003245/0.7286, allocations: 1.546 MB / 0.6604 GB, free: 15.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.7287, allocations: 64.12 kB / 0.6605 GB, free: 15.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.7306, allocations: 1.605 MB / 0.6621 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.7307, allocations: 25.7 kB / 0.6621 GB, free: 13.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.7319, allocations: 1.98 MB / 0.664 GB, free: 11.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.7322, allocations: 414.7 kB / 0.6644 GB, free: 11.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.272e-05/0.7323, allocations: 0 / 0.6644 GB, free: 11.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.7326, allocations: 0.4903 MB / 0.6649 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.7337, allocations: 0.9047 MB / 0.6658 GB, free: 9.957 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.7362, allocations: 2.968 MB / 0.6687 GB, free: 5.953 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.7382, allocations: 1.674 MB / 0.6703 GB, free: 4.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/0.7382, allocations: 20 kB / 0.6703 GB, free: 4.258 MB / 474.7 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.004672/0.7429, allocations: 3.429 MB / 0.6737 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.743, allocations: 40 kB / 0.6737 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-05/0.7431, allocations: 72 kB / 0.6738 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.389e-05/0.7432, allocations: 108 kB / 0.6739 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.7453, allocations: 0.7642 MB / 0.6746 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.906e-05/0.7454, allocations: 147.4 kB / 0.6748 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.7471, allocations: 383.8 kB / 0.6752 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.7474, allocations: 211.9 kB / 0.6754 GB, free: 15.12 MB / 490.7 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.000344/0.7477, allocations: 293.3 kB / 0.6756 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.7479, allocations: 169.8 kB / 0.6758 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.7499, allocations: 1.33 MB / 0.6771 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.75, allocations: 12 kB / 0.6771 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.75, allocations: 0 / 0.6771 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.75, allocations: 7.984 kB / 0.6771 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007061/0.7571, allocations: 4.903 MB / 0.6819 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.7571, allocations: 12 kB / 0.6819 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.7577, allocations: 160.5 kB / 0.6821 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/0.7578, allocations: 20 kB / 0.6821 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.7578, allocations: 20 kB / 0.6821 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.7579, allocations: 23.88 kB / 0.6821 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.7579, allocations: 19.92 kB / 0.6822 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.7601, allocations: 2.396 MB / 0.6845 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.7604, allocations: 254.7 kB / 0.6847 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7606, allocations: 15.95 kB / 0.6847 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.7612, allocations: 27.97 kB / 0.6848 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7613, allocations: 87.64 kB / 0.6849 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.7614, allocations: 43.98 kB / 0.6849 GB, free: 4.652 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.7627, allocations: 1.067 MB / 0.6859 GB, free: 3.594 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7627, allocations: 0 / 0.6859 GB, free: 3.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002657/0.7654, allocations: 0.7072 MB / 0.6866 GB, free: 2.883 MB / 490.7 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.0003361/0.7657, allocations: 142.9 kB / 0.6868 GB, free: 2.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.7689, allocations: 2.162 MB / 0.6889 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7689, allocations: 0 / 0.6889 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.7696, allocations: 0.5987 MB / 0.6895 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.7705, allocations: 177.5 kB / 0.6896 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/0.7788, allocations: 4.707 MB / 0.6942 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.7813, allocations: 2.465 MB / 0.6966 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002772/0.7841, allocations: 1.136 MB / 0.6977 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.7844, allocations: 127.4 kB / 0.6979 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/0.7844, allocations: 4 kB / 0.6979 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.2994/1.084, allocations: 12.32 MB / 0.7099 GB, free: 143.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches