Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009456/0.0009456, allocations: 191.1 kB / 16.78 MB, free: 4.906 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.5 MB / 244.1 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008046/0.0008046, allocations: 101.6 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3209/0.3209, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002563, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.268, allocations: 62.96 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.376, allocations: 103.9 MB / 0.6179 GB, free: 1.453 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3763, allocations: 83.95 kB / 0.618 GB, free: 1.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1217/0.498, allocations: 53.85 MB / 0.6706 GB, free: 11.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4981, allocations: 0 / 0.6706 GB, free: 11.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.191e-05/0.4982, allocations: 48 kB / 0.6706 GB, free: 11.12 MB / 490.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.005074/0.5033, allocations: 2.546 MB / 0.6731 GB, free: 8.512 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5033, allocations: 8.031 kB / 0.6731 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0068/0.5101, allocations: 1.799 MB / 0.6749 GB, free: 6.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.514, allocations: 1.692 MB / 0.6765 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.5142, allocations: 205.9 kB / 0.6767 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.5153, allocations: 276.2 kB / 0.677 GB, free: 4.488 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2359/0.7513, allocations: 6.292 MB / 0.6832 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.562e-05/0.7514, allocations: 20.34 kB / 0.6832 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.7518, allocations: 123.4 kB / 0.6833 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000917/0.7527, allocations: 0.6354 MB / 0.6839 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009542/0.7623, allocations: 5.463 MB / 0.6892 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02758/0.7899, allocations: 22.11 MB / 0.7108 GB, free: 92.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/0.7947, allocations: 2.069 MB / 0.7129 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.7958, allocations: 0.6837 MB / 0.7135 GB, free: 91.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006802/0.8026, allocations: 3.503 MB / 0.7169 GB, free: 89.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.8027, allocations: 38.08 kB / 0.717 GB, free: 89.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.739e-06/0.8027, allocations: 0 / 0.717 GB, free: 89.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005399/0.8081, allocations: 1.976 MB / 0.7189 GB, free: 89.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.8082, allocations: 61.28 kB / 0.719 GB, free: 89.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/0.8121, allocations: 1.944 MB / 0.7209 GB, free: 88.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.8122, allocations: 34.95 kB / 0.7209 GB, free: 88.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.8133, allocations: 1.881 MB / 0.7227 GB, free: 87.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.8137, allocations: 317.4 kB / 0.723 GB, free: 87.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.8139, allocations: 55.84 kB / 0.7231 GB, free: 87.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003066/0.8142, allocations: 493.1 kB / 0.7236 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.8157, allocations: 0.8524 MB / 0.7244 GB, free: 86.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.818, allocations: 2.714 MB / 0.727 GB, free: 83.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.8216, allocations: 3.901 MB / 0.7309 GB, free: 80.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.8217, allocations: 19 kB / 0.7309 GB, free: 80.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005314/0.827, allocations: 3.445 MB / 0.7342 GB, free: 78.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.8271, allocations: 38.25 kB / 0.7343 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.2e-05/0.8272, allocations: 68.72 kB / 0.7343 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.136e-05/0.8273, allocations: 87.94 kB / 0.7344 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.8291, allocations: 0.6594 MB / 0.7351 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.351e-05/0.8292, allocations: 132.3 kB / 0.7352 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.8311, allocations: 412 kB / 0.7356 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.8314, allocations: 186.4 kB / 0.7358 GB, free: 78.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.001987/0.8334, allocations: 1.365 MB / 0.7371 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.8336, allocations: 156 kB / 0.7372 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.834, allocations: 206.3 kB / 0.7374 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.8341, allocations: 14 kB / 0.7375 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.8341, allocations: 7.375 kB / 0.7375 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.8341, allocations: 3.891 kB / 0.7375 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006619/0.8407, allocations: 4.148 MB / 0.7415 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.8408, allocations: 7.844 kB / 0.7415 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.8411, allocations: 104.4 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.8411, allocations: 7.375 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.8412, allocations: 14.94 kB / 0.7416 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.8412, allocations: 14.7 kB / 0.7417 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8412, allocations: 6.031 kB / 0.7417 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.8423, allocations: 1.239 MB / 0.7429 GB, free: 75.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.8427, allocations: 266 kB / 0.7431 GB, free: 75.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.843, allocations: 12.91 kB / 0.7431 GB, free: 75.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.8436, allocations: 30.53 kB / 0.7432 GB, free: 75.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.8436, allocations: 48.81 kB / 0.7432 GB, free: 75.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.8437, allocations: 27.91 kB / 0.7432 GB, free: 75.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001619/0.8453, allocations: 1.272 MB / 0.7445 GB, free: 74.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8453, allocations: 0 / 0.7445 GB, free: 74.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002322/0.8477, allocations: 0.7154 MB / 0.7452 GB, free: 74.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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.0002854/0.848, allocations: 146.4 kB / 0.7453 GB, free: 74.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.8505, allocations: 1.984 MB / 0.7473 GB, free: 73.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8505, allocations: 3.344 kB / 0.7473 GB, free: 73.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.851, allocations: 453 kB / 0.7477 GB, free: 73.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.8534, allocations: 240.6 kB / 0.7479 GB, free: 73.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/0.8623, allocations: 6.58 MB / 0.7544 GB, free: 69.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.8648, allocations: 2.322 MB / 0.7566 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.8652, allocations: 144.7 kB / 0.7568 GB, free: 68.67 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.8652, allocations: 0 / 0.7568 GB, free: 68.67 MB / 490.7 MB Notification: Performance of Templates: time 0.03687/0.9021, allocations: 30.14 MB / 0.7862 GB, free: 50.38 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches