Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009755/0.0009755, allocations: 197.4 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.256/1.256, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009429/0.0009429, allocations: 92.91 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 45.15 MB / 383.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.418e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 63.25 MB / 0.5043 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.5252, allocations: 103.2 MB / 0.6051 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.5255, allocations: 80.36 kB / 0.6052 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.6478, allocations: 53.92 MB / 0.6579 GB, free: 1.746 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6479, allocations: 3.938 kB / 0.6579 GB, free: 1.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.363e-05/0.6479, allocations: 52 kB / 0.6579 GB, free: 1.691 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.004703/0.6527, allocations: 2.533 MB / 0.6604 GB, free: 15.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6527, allocations: 8.031 kB / 0.6604 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/0.6599, allocations: 1.797 MB / 0.6621 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.6637, allocations: 1.659 MB / 0.6638 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/0.6639, allocations: 96 kB / 0.6639 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004714/0.6643, allocations: 156 kB / 0.664 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005926/0.6703, allocations: 4.137 MB / 0.668 GB, free: 7.527 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007818/0.6781, allocations: 5.773 MB / 0.6737 GB, free: 1.414 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.6782, allocations: 11.88 kB / 0.6737 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.6785, allocations: 12 kB / 0.6737 GB, free: 1.391 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000765/0.6792, allocations: 0.6494 MB / 0.6743 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/0.7039, allocations: 21.59 MB / 0.6954 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.7056, allocations: 1.43 MB / 0.6968 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.7062, allocations: 0.5066 MB / 0.6973 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.7062, allocations: 8.562 kB / 0.6973 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.7063, allocations: 43.11 kB / 0.6974 GB, free: 8.344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.597e-06/0.7063, allocations: 4 kB / 0.6974 GB, free: 8.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.003056/0.7093, allocations: 1.41 MB / 0.6987 GB, free: 6.922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.7094, allocations: 59.97 kB / 0.6988 GB, free: 6.852 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.7113, allocations: 1.56 MB / 0.7003 GB, free: 5.289 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.7113, allocations: 29.7 kB / 0.7004 GB, free: 5.254 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.7124, allocations: 1.894 MB / 0.7022 GB, free: 3.328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.7127, allocations: 359.5 kB / 0.7025 GB, free: 2.973 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.7128, allocations: 3.938 kB / 0.7026 GB, free: 2.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.713, allocations: 493.6 kB / 0.703 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.7141, allocations: 0.8378 MB / 0.7038 GB, free: 1.637 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.7164, allocations: 2.802 MB / 0.7066 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.7183, allocations: 1.567 MB / 0.7081 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/0.7183, allocations: 20 kB / 0.7081 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004637/0.723, allocations: 3.214 MB / 0.7113 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.723, allocations: 37.41 kB / 0.7113 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/0.7231, allocations: 75.98 kB / 0.7114 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.7232, allocations: 104 kB / 0.7115 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.7251, allocations: 0.7057 MB / 0.7122 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/0.7252, allocations: 143.4 kB / 0.7123 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.7269, allocations: 367.9 kB / 0.7126 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.7272, allocations: 192 kB / 0.7128 GB, free: 7.422 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.0003219/0.7275, allocations: 290.3 kB / 0.7131 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.7277, allocations: 157.9 kB / 0.7133 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.7294, allocations: 1.174 MB / 0.7144 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.7294, allocations: 11.94 kB / 0.7144 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7295, allocations: 0 / 0.7144 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.7295, allocations: 3.953 kB / 0.7144 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.7353, allocations: 3.924 MB / 0.7183 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.7353, allocations: 7.984 kB / 0.7183 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.7358, allocations: 131.8 kB / 0.7184 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.7358, allocations: 12 kB / 0.7184 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.7359, allocations: 15.98 kB / 0.7184 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.7359, allocations: 8 kB / 0.7184 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/0.7359, allocations: 11.94 kB / 0.7184 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.7376, allocations: 1.895 MB / 0.7203 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.7379, allocations: 238.7 kB / 0.7205 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.738, allocations: 12 kB / 0.7205 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.7385, allocations: 23.92 kB / 0.7205 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.7386, allocations: 67.77 kB / 0.7206 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.7386, allocations: 32 kB / 0.7206 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001267/0.7399, allocations: 1.038 MB / 0.7217 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7399, allocations: 0 / 0.7217 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002528/0.7425, allocations: 0.6606 MB / 0.7223 GB, free: 13.21 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.0002907/0.7428, allocations: 143 kB / 0.7224 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002855/0.7456, allocations: 1.986 MB / 0.7244 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.7456, allocations: 8.062 kB / 0.7244 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.7462, allocations: 0.5117 MB / 0.7249 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.7471, allocations: 181.5 kB / 0.7251 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.7545, allocations: 4.335 MB / 0.7293 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.7567, allocations: 2.391 MB / 0.7316 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002443/0.7592, allocations: 1.077 MB / 0.7327 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.7595, allocations: 119.4 kB / 0.7328 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.7595, allocations: 0 / 0.7328 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of Templates: time 0.02647/0.786, allocations: 11.64 MB / 0.7442 GB, free: 6.668 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches