Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009819/0.0009818, allocations: 99.91 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1885/0.1885, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.408e-05/1.401e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5725/0.7213, allocations: 102.1 MB / 0.5944 GB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.7216, allocations: 79.95 kB / 0.5945 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1832/0.9048, allocations: 52.54 MB / 0.6458 GB, free: 5.375 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.9049, allocations: 3.938 kB / 0.6458 GB, free: 5.371 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.905, allocations: 52 kB / 0.6459 GB, free: 5.32 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.008762/0.9138, allocations: 2.515 MB / 0.6483 GB, free: 2.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.9139, allocations: 15.98 kB / 0.6483 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.9259, allocations: 1.798 MB / 0.6501 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006289/0.9322, allocations: 1.672 MB / 0.6517 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.9325, allocations: 91.98 kB / 0.6518 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.9338, allocations: 156 kB / 0.652 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01082/0.9446, allocations: 4.144 MB / 0.656 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.9594, allocations: 5.772 MB / 0.6616 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.645e-05/0.9595, allocations: 15.81 kB / 0.6617 GB, free: 4.688 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004411/0.96, allocations: 16 kB / 0.6617 GB, free: 4.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001235/0.9612, allocations: 0.6339 MB / 0.6623 GB, free: 4.035 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03872/0.9999, allocations: 21.58 MB / 0.6834 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/1.002, allocations: 1.441 MB / 0.6848 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009946/1.003, allocations: 0.5027 MB / 0.6853 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/1.003, allocations: 12.55 kB / 0.6853 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.004, allocations: 43.12 kB / 0.6853 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 3.697e-06/1.004, allocations: 0 / 0.6853 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.005127/1.009, allocations: 1.406 MB / 0.6867 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.009, allocations: 63.91 kB / 0.6868 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.012, allocations: 1.56 MB / 0.6883 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/1.012, allocations: 25.7 kB / 0.6883 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/1.014, allocations: 1.902 MB / 0.6902 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004134/1.014, allocations: 355.4 kB / 0.6905 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.014, allocations: 0 / 0.6905 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003909/1.015, allocations: 497.5 kB / 0.691 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.016, allocations: 0.8378 MB / 0.6918 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/1.02, allocations: 2.805 MB / 0.6945 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/1.023, allocations: 1.561 MB / 0.6961 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-05/1.023, allocations: 20 kB / 0.6961 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.008193/1.031, allocations: 3.214 MB / 0.6992 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/1.031, allocations: 36 kB / 0.6992 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.593e-05/1.031, allocations: 72 kB / 0.6993 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/1.032, allocations: 100 kB / 0.6994 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/1.035, allocations: 0.714 MB / 0.7001 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001345/1.035, allocations: 135.5 kB / 0.7002 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.038, allocations: 363.5 kB / 0.7006 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/1.039, allocations: 196 kB / 0.7008 GB, free: 10.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (390): * Single equations (assignments): 387 * 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.0005143/1.039, allocations: 292.5 kB / 0.701 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/1.039, allocations: 157.9 kB / 0.7012 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/1.042, allocations: 1.166 MB / 0.7023 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/1.042, allocations: 15.94 kB / 0.7024 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.042, allocations: 0 / 0.7024 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.042, allocations: 3.984 kB / 0.7024 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00939/1.052, allocations: 3.924 MB / 0.7062 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.052, allocations: 11.98 kB / 0.7062 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/1.053, allocations: 131.7 kB / 0.7063 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/1.053, allocations: 11.95 kB / 0.7063 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/1.053, allocations: 12 kB / 0.7063 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-05/1.053, allocations: 19.92 kB / 0.7064 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/1.053, allocations: 8 kB / 0.7064 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/1.056, allocations: 1.895 MB / 0.7082 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/1.056, allocations: 238.7 kB / 0.7085 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/1.056, allocations: 15.98 kB / 0.7085 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/1.057, allocations: 15.98 kB / 0.7085 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.057, allocations: 71.72 kB / 0.7086 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.058, allocations: 39.98 kB / 0.7086 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002251/1.06, allocations: 1.03 MB / 0.7096 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/1.06, allocations: 0 / 0.7096 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00438/1.064, allocations: 0.6607 MB / 0.7102 GB, free: 0.5078 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.0005074/1.065, allocations: 146.9 kB / 0.7104 GB, free: 364 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2882/1.353, allocations: 1.98 MB / 0.7123 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.353, allocations: 1.094 kB / 0.7123 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/1.354, allocations: 0.5225 MB / 0.7128 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/1.355, allocations: 170.2 kB / 0.713 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/1.362, allocations: 4.344 MB / 0.7172 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/1.365, allocations: 2.384 MB / 0.7196 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002743/1.367, allocations: 1.08 MB / 0.7206 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/1.368, allocations: 117.6 kB / 0.7207 GB, free: 147 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/1.368, allocations: 1.281 kB / 0.7207 GB, free: 147 MB / 0.5105 GB Notification: Performance of Templates: time 0.02674/1.395, allocations: 11.63 MB / 0.7321 GB, free: 146.6 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches