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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 114.9 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001464, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1972/0.1972, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 75.88 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3079, allocations: 62.44 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01094/0.3189, allocations: 9.522 MB / 0.541 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.3253, allocations: 2.918 MB / 0.5438 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.3267, allocations: 52.97 kB / 0.5439 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.3305, allocations: 1.997 MB / 0.5458 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.3333, allocations: 1.111 MB / 0.5469 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.334, allocations: 285.8 kB / 0.5472 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.3375, allocations: 2.326 MB / 0.5494 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.3406, allocations: 2.307 MB / 0.5517 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.342, allocations: 0.8722 MB / 0.5525 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.3438, allocations: 1.153 MB / 0.5537 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006356/0.3445, allocations: 196 kB / 0.5539 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.3462, allocations: 0.7021 MB / 0.5545 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.3475, allocations: 1.118 MB / 0.5556 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3494, allocations: 1.305 MB / 0.5569 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.354, allocations: 4.317 MB / 0.5611 GB, free: 3.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3541, allocations: 0 / 0.5611 GB, free: 3.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3541, allocations: 0 / 0.5611 GB, free: 3.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3543, allocations: 0 / 0.5611 GB, free: 3.621 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005522/0.3598, allocations: 2.861 MB / 0.5639 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3599, allocations: 8.031 kB / 0.5639 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/0.3648, allocations: 1.561 MB / 0.5654 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.3672, allocations: 1.34 MB / 0.5668 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.3674, allocations: 144 kB / 0.5669 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/0.3678, allocations: 191.8 kB / 0.5671 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009819/0.3777, allocations: 6.25 MB / 0.5732 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.3778, allocations: 11.88 kB / 0.5732 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000368/0.3781, allocations: 87.91 kB / 0.5733 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/0.3801, allocations: 1.344 MB / 0.5746 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009656/0.3898, allocations: 5.327 MB / 0.5798 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02681/0.4167, allocations: 20 MB / 0.5993 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.421, allocations: 2.081 MB / 0.6014 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000996/0.422, allocations: 0.6936 MB / 0.602 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006272/0.4283, allocations: 3.483 MB / 0.6054 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.4283, allocations: 46.88 kB / 0.6055 GB, free: 4.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.897e-06/0.4283, allocations: 0 / 0.6055 GB, free: 4.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005132/0.4335, allocations: 1.974 MB / 0.6074 GB, free: 2.957 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4335, allocations: 59.84 kB / 0.6075 GB, free: 2.887 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.4364, allocations: 1.933 MB / 0.6093 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.4365, allocations: 33.7 kB / 0.6094 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.4378, allocations: 1.832 MB / 0.6112 GB, free: 15.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.4381, allocations: 312.1 kB / 0.6115 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008251/0.439, allocations: 0.6151 MB / 0.6121 GB, free: 14.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4391, allocations: 365.9 kB / 0.6124 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.4404, allocations: 0.8842 MB / 0.6133 GB, free: 12.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/0.443, allocations: 2.755 MB / 0.616 GB, free: 9.176 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/0.4472, allocations: 3.965 MB / 0.6198 GB, free: 4.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.816e-05/0.4473, allocations: 20 kB / 0.6199 GB, free: 4.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005541/0.4528, allocations: 3.53 MB / 0.6233 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.4529, allocations: 32 kB / 0.6233 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-05/0.453, allocations: 68 kB / 0.6234 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.604e-05/0.4531, allocations: 88 kB / 0.6235 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.455, allocations: 0.6589 MB / 0.6241 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/0.4551, allocations: 127.5 kB / 0.6243 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.457, allocations: 420 kB / 0.6247 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.4573, allocations: 184 kB / 0.6248 GB, free: 15.17 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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.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): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001872/0.4591, allocations: 1.342 MB / 0.6261 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.4594, allocations: 157.9 kB / 0.6263 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.4598, allocations: 192.9 kB / 0.6265 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4598, allocations: 4 kB / 0.6265 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4598, allocations: 4 kB / 0.6265 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.4602, allocations: 230.8 kB / 0.6267 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.4604, allocations: 11.94 kB / 0.6267 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.4608, allocations: 23.97 kB / 0.6267 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.4609, allocations: 32.39 kB / 0.6268 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001394/0.4623, allocations: 0.9371 MB / 0.6277 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00129/0.4636, allocations: 1.147 MB / 0.6288 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000482/0.4641, allocations: 407.5 kB / 0.6292 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.4658, allocations: 1.195 MB / 0.6304 GB, free: 9.453 MB / 494.1 MB Notification: Performance of Backend: time 7.21e-07/0.4658, allocations: 0 / 0.6304 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.4692, allocations: 1.807 MB / 0.6321 GB, free: 7.648 MB / 494.1 MB Notification: Performance of SimCode: time 0.008539/0.4777, allocations: 5.318 MB / 0.6373 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Templates: time 0.03753/0.5153, allocations: 19.46 MB / 0.6563 GB, free: 14.86 MB / 0.5138 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches