Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009573/0.0009573, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 93.61 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1964/0.1964, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.815e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 63.24 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.5205, allocations: 103.2 MB / 0.6052 GB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5208, allocations: 72.91 kB / 0.6052 GB, free: 15.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1319/0.6527, allocations: 53.93 MB / 0.6579 GB, free: 1.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.6527, allocations: 4 kB / 0.6579 GB, free: 1.727 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.6529, allocations: 51.98 kB / 0.6579 GB, free: 1.676 MB / 442.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.006312/0.6592, allocations: 2.524 MB / 0.6604 GB, free: 15.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6592, allocations: 8.031 kB / 0.6604 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007696/0.6669, allocations: 1.806 MB / 0.6622 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.6709, allocations: 1.666 MB / 0.6638 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.6711, allocations: 88 kB / 0.6639 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.6722, allocations: 156 kB / 0.664 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007077/0.6793, allocations: 4.141 MB / 0.6681 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009177/0.6885, allocations: 5.773 MB / 0.6737 GB, free: 1.371 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.029e-05/0.6886, allocations: 15.88 kB / 0.6737 GB, free: 1.355 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.6889, allocations: 8 kB / 0.6737 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008047/0.6897, allocations: 0.6456 MB / 0.6744 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02416/0.7139, allocations: 21.59 MB / 0.6955 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.7155, allocations: 1.43 MB / 0.6969 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.7161, allocations: 0.5105 MB / 0.6974 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.7162, allocations: 12.48 kB / 0.6974 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.7162, allocations: 43.12 kB / 0.6974 GB, free: 8.293 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.416e-06/0.7162, allocations: 0 / 0.6974 GB, free: 8.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.00306/0.7193, allocations: 1.41 MB / 0.6988 GB, free: 6.875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.7193, allocations: 59.97 kB / 0.6988 GB, free: 6.805 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.7212, allocations: 1.564 MB / 0.7004 GB, free: 5.238 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.7212, allocations: 25.7 kB / 0.7004 GB, free: 5.207 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.7224, allocations: 1.894 MB / 0.7022 GB, free: 3.281 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.7227, allocations: 355.4 kB / 0.7026 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.7228, allocations: 0 / 0.7026 GB, free: 2.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.7231, allocations: 493.6 kB / 0.7031 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.7242, allocations: 0.8457 MB / 0.7039 GB, free: 1.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.7266, allocations: 2.802 MB / 0.7066 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.7285, allocations: 1.566 MB / 0.7081 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-05/0.7285, allocations: 24 kB / 0.7082 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004605/0.7331, allocations: 3.206 MB / 0.7113 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.7332, allocations: 36 kB / 0.7113 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-05/0.7333, allocations: 72.88 kB / 0.7114 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.7334, allocations: 104 kB / 0.7115 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.7353, allocations: 0.7135 MB / 0.7122 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.305e-05/0.7354, allocations: 147.4 kB / 0.7123 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.737, allocations: 359.6 kB / 0.7127 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.7373, allocations: 196 kB / 0.7129 GB, free: 7.375 MB / 0.4948 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.0003482/0.7376, allocations: 290.3 kB / 0.7131 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.7378, allocations: 157.9 kB / 0.7133 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.7395, allocations: 1.162 MB / 0.7144 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7395, allocations: 8 kB / 0.7144 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7395, allocations: 0 / 0.7144 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.7396, allocations: 7.938 kB / 0.7144 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/0.7454, allocations: 3.932 MB / 0.7183 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.7455, allocations: 8 kB / 0.7183 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.746, allocations: 123.8 kB / 0.7184 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/0.746, allocations: 12 kB / 0.7184 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.7461, allocations: 12 kB / 0.7184 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.7461, allocations: 15.92 kB / 0.7184 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.7461, allocations: 15.94 kB / 0.7185 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.7479, allocations: 1.891 MB / 0.7203 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.7482, allocations: 238.8 kB / 0.7205 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.7484, allocations: 15.98 kB / 0.7206 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.7488, allocations: 19.94 kB / 0.7206 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.7489, allocations: 67.77 kB / 0.7206 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.749, allocations: 35.98 kB / 0.7207 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001271/0.7503, allocations: 1.042 MB / 0.7217 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7503, allocations: 0 / 0.7217 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002359/0.7526, allocations: 0.6606 MB / 0.7223 GB, free: 13.16 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.0002586/0.7529, allocations: 139 kB / 0.7225 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003062/0.756, allocations: 1.989 MB / 0.7244 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.756, allocations: 4 kB / 0.7244 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.7566, allocations: 0.5182 MB / 0.7249 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.7575, allocations: 185.2 kB / 0.7251 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.7654, allocations: 4.339 MB / 0.7293 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.7676, allocations: 2.383 MB / 0.7317 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0025/0.7702, allocations: 1.084 MB / 0.7327 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.7704, allocations: 119.4 kB / 0.7328 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/0.7704, allocations: 4 kB / 0.7328 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of Templates: time 0.02232/0.7928, allocations: 11.63 MB / 0.7442 GB, free: 6.629 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches