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.0009714/0.0009716, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.000921, allocations: 95.19 kB / 292.2 MB, free: 10.91 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.3435/0.3435, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.000334, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3461, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4679, allocations: 102.9 MB / 0.61 GB, free: 8.199 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4681, allocations: 87.89 kB / 0.6101 GB, free: 8.113 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1271/0.5953, allocations: 53.73 MB / 0.6626 GB, free: 2.051 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5953, allocations: 4 kB / 0.6626 GB, free: 2.047 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.5955, allocations: 52 kB / 0.6626 GB, free: 1.996 MB / 474.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.005285/0.6007, allocations: 2.628 MB / 0.6652 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6008, allocations: 12.03 kB / 0.6652 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006652/0.6075, allocations: 1.79 MB / 0.667 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.6118, allocations: 1.676 MB / 0.6686 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.612, allocations: 209.5 kB / 0.6688 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007106/0.6127, allocations: 275.9 kB / 0.6691 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.6239, allocations: 6.315 MB / 0.6752 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.904e-05/0.624, allocations: 11.88 kB / 0.6752 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/0.6244, allocations: 127.9 kB / 0.6754 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008311/0.6252, allocations: 0.6372 MB / 0.676 GB, free: 3.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2485/0.8737, allocations: 5.503 MB / 0.6814 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02461/0.8984, allocations: 22.13 MB / 0.703 GB, free: 94.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.9019, allocations: 2.076 MB / 0.705 GB, free: 93.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005088/0.907, allocations: 3.537 MB / 0.7084 GB, free: 92.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.907, allocations: 37.94 kB / 0.7085 GB, free: 92.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/0.907, allocations: 0 / 0.7085 GB, free: 92.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004393/0.9114, allocations: 2.232 MB / 0.7107 GB, free: 91.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.9115, allocations: 57.5 kB / 0.7107 GB, free: 91.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.9134, allocations: 1.739 MB / 0.7124 GB, free: 90.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.9134, allocations: 36.67 kB / 0.7124 GB, free: 90.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/0.9142, allocations: 1.883 MB / 0.7143 GB, free: 89.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.9144, allocations: 319.3 kB / 0.7146 GB, free: 89.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.9145, allocations: 56.55 kB / 0.7146 GB, free: 89.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9146, allocations: 495.7 kB / 0.7151 GB, free: 88.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/0.9156, allocations: 0.8518 MB / 0.716 GB, free: 88.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.9174, allocations: 2.699 MB / 0.7186 GB, free: 85.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.9192, allocations: 1.527 MB / 0.7201 GB, free: 85.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.205e-05/0.9193, allocations: 19.69 kB / 0.7201 GB, free: 85.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005038/0.9243, allocations: 3.446 MB / 0.7235 GB, free: 83.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.9244, allocations: 32.94 kB / 0.7235 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.192e-05/0.9245, allocations: 68.59 kB / 0.7236 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.9246, allocations: 96.69 kB / 0.7237 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.9265, allocations: 0.6641 MB / 0.7243 GB, free: 83.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001353/0.9266, allocations: 131 kB / 0.7244 GB, free: 83.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.9285, allocations: 406 kB / 0.7248 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.9287, allocations: 190.7 kB / 0.725 GB, free: 83.41 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.002387/0.9311, allocations: 1.362 MB / 0.7263 GB, free: 82.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.9314, allocations: 170.6 kB / 0.7265 GB, free: 82.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.9318, allocations: 202.3 kB / 0.7267 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.9318, allocations: 11.31 kB / 0.7267 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.9318, allocations: 0 / 0.7267 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.9319, allocations: 2.391 kB / 0.7267 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008126/0.94, allocations: 4.15 MB / 0.7307 GB, free: 80.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.94, allocations: 11.28 kB / 0.7308 GB, free: 80.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.9405, allocations: 95.44 kB / 0.7308 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/0.9405, allocations: 10.19 kB / 0.7309 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.9405, allocations: 20.31 kB / 0.7309 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.9406, allocations: 9.078 kB / 0.7309 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.9406, allocations: 10.5 kB / 0.7309 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.9423, allocations: 1.655 MB / 0.7325 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.9427, allocations: 260.4 kB / 0.7328 GB, free: 79.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.9429, allocations: 18.03 kB / 0.7328 GB, free: 79.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.9433, allocations: 33.73 kB / 0.7328 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.9434, allocations: 50.59 kB / 0.7329 GB, free: 79.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.9435, allocations: 30.53 kB / 0.7329 GB, free: 79.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001709/0.9452, allocations: 1.272 MB / 0.7341 GB, free: 78.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9452, allocations: 4 kB / 0.7341 GB, free: 78.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002498/0.9477, allocations: 0.7116 MB / 0.7348 GB, free: 78.68 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.0002652/0.948, allocations: 144.3 kB / 0.735 GB, free: 78.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.9505, allocations: 1.978 MB / 0.7369 GB, free: 77.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9505, allocations: 0 / 0.7369 GB, free: 77.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.9509, allocations: 465.2 kB / 0.7373 GB, free: 77.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.9517, allocations: 236 kB / 0.7376 GB, free: 77.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.9588, allocations: 6.227 MB / 0.7436 GB, free: 74.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.9607, allocations: 2.369 MB / 0.746 GB, free: 73.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002055/0.9628, allocations: 0.9644 MB / 0.7469 GB, free: 73.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.963, allocations: 119.7 kB / 0.747 GB, free: 73.09 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.963, allocations: 0 / 0.747 GB, free: 73.09 MB / 490.7 MB Notification: Performance of Templates: time 0.02333/0.9864, allocations: 13.8 MB / 0.7605 GB, free: 72.28 MB / 490.7 MB 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