Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,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.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 182.5 kB / 18.09 MB, free: 3.746 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.331/1.331, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007703/0.0007703, allocations: 93.64 kB / 293.3 MB, free: 10.78 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.3244/0.3244, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 61.87 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4573, allocations: 103 MB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4576, allocations: 83.95 kB / 0.6114 GB, free: 8.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1251/0.5827, allocations: 53.02 MB / 0.6631 GB, free: 2.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5827, allocations: 4 kB / 0.6631 GB, free: 2.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.868e-05/0.5828, allocations: 52 kB / 0.6632 GB, free: 2.594 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.006738/0.5896, allocations: 2.545 MB / 0.6657 GB, free: 15.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5896, allocations: 8.031 kB / 0.6657 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/0.5967, allocations: 1.795 MB / 0.6674 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.6007, allocations: 1.692 MB / 0.6691 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.6009, allocations: 209.8 kB / 0.6693 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.6019, allocations: 280.3 kB / 0.6695 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.6132, allocations: 6.288 MB / 0.6757 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.092e-05/0.6133, allocations: 12.06 kB / 0.6757 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006097/0.6139, allocations: 127.9 kB / 0.6758 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008249/0.6148, allocations: 0.6372 MB / 0.6764 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2747/0.8895, allocations: 5.462 MB / 0.6818 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.922, allocations: 22.09 MB / 0.7034 GB, free: 94.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006844/0.9289, allocations: 2.076 MB / 0.7054 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.9304, allocations: 0.6823 MB / 0.706 GB, free: 93.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009726/0.9402, allocations: 3.512 MB / 0.7095 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.9403, allocations: 35 kB / 0.7095 GB, free: 92.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.469e-06/0.9403, allocations: 2.5 kB / 0.7095 GB, free: 92.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.009115/0.9494, allocations: 1.973 MB / 0.7114 GB, free: 91.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.9495, allocations: 60 kB / 0.7115 GB, free: 91.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005643/0.9552, allocations: 1.936 MB / 0.7134 GB, free: 90.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.9553, allocations: 34.88 kB / 0.7134 GB, free: 90.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/0.9578, allocations: 1.891 MB / 0.7153 GB, free: 89.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.9583, allocations: 309.7 kB / 0.7156 GB, free: 89.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.9586, allocations: 60.12 kB / 0.7156 GB, free: 89.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005041/0.9591, allocations: 496.8 kB / 0.7161 GB, free: 89.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.9616, allocations: 0.852 MB / 0.7169 GB, free: 88.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/0.9661, allocations: 2.714 MB / 0.7196 GB, free: 86.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006296/0.9724, allocations: 3.902 MB / 0.7234 GB, free: 82.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.162e-05/0.9725, allocations: 18.66 kB / 0.7234 GB, free: 82.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.009233/0.9818, allocations: 3.445 MB / 0.7268 GB, free: 81.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.9819, allocations: 34.06 kB / 0.7268 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/0.982, allocations: 66 kB / 0.7269 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.9822, allocations: 86.78 kB / 0.7269 GB, free: 81.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.9855, allocations: 0.6577 MB / 0.7276 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001985/0.9857, allocations: 132.5 kB / 0.7277 GB, free: 81.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/0.989, allocations: 410.4 kB / 0.7281 GB, free: 80.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004317/0.9895, allocations: 184.9 kB / 0.7283 GB, free: 80.97 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.003914/0.9934, allocations: 1.381 MB / 0.7296 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.9939, allocations: 156 kB / 0.7298 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.9946, allocations: 202.6 kB / 0.73 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-05/0.9946, allocations: 9.875 kB / 0.73 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.9947, allocations: 2.078 kB / 0.73 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.9947, allocations: 2.203 kB / 0.73 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.007, allocations: 4.152 MB / 0.734 GB, free: 78.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.007, allocations: 5.5 kB / 0.734 GB, free: 78.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/1.008, allocations: 101.6 kB / 0.7341 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/1.008, allocations: 7.781 kB / 0.7342 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/1.008, allocations: 19.92 kB / 0.7342 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-05/1.008, allocations: 12.81 kB / 0.7342 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.008, allocations: 7.688 kB / 0.7342 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/1.011, allocations: 1.234 MB / 0.7354 GB, free: 77.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/1.011, allocations: 261.7 kB / 0.7356 GB, free: 77.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/1.011, allocations: 19.17 kB / 0.7357 GB, free: 77.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008028/1.012, allocations: 33.11 kB / 0.7357 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.012, allocations: 51.61 kB / 0.7357 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/1.013, allocations: 24.48 kB / 0.7358 GB, free: 77.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00291/1.015, allocations: 1.272 MB / 0.737 GB, free: 77.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.015, allocations: 4 kB / 0.737 GB, free: 77.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004283/1.02, allocations: 0.7152 MB / 0.7377 GB, free: 76.84 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.0004358/1.02, allocations: 146.2 kB / 0.7379 GB, free: 76.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004305/1.025, allocations: 1.985 MB / 0.7398 GB, free: 76.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.025, allocations: 0 / 0.7398 GB, free: 76.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/1.025, allocations: 467.6 kB / 0.7402 GB, free: 75.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/1.03, allocations: 229.2 kB / 0.7405 GB, free: 75.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.043, allocations: 6.255 MB / 0.7466 GB, free: 72.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.046, allocations: 2.317 MB / 0.7488 GB, free: 71.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004444/1.05, allocations: 0.9618 MB / 0.7498 GB, free: 71.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/1.051, allocations: 113.1 kB / 0.7499 GB, free: 71.25 MB / 490.7 MB Notification: Performance of SimCode: time 2.175e-06/1.051, allocations: 0 / 0.7499 GB, free: 71.25 MB / 490.7 MB Notification: Performance of Templates: time 0.04664/1.098, allocations: 13.84 MB / 0.7634 GB, free: 70.46 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches