Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001815, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2893, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01046/0.2998, allocations: 9.53 MB / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005466/0.3053, allocations: 2.921 MB / 0.5438 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.3065, allocations: 48.62 kB / 0.5439 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.3102, allocations: 1.997 MB / 0.5458 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.3128, allocations: 1.11 MB / 0.5469 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.3135, allocations: 282.9 kB / 0.5472 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.3166, allocations: 2.337 MB / 0.5494 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.3193, allocations: 2.305 MB / 0.5517 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.3206, allocations: 0.8723 MB / 0.5525 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3222, allocations: 1.153 MB / 0.5537 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.3225, allocations: 192 kB / 0.5539 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3236, allocations: 0.7021 MB / 0.5545 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008469/0.3244, allocations: 1.118 MB / 0.5556 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.3255, allocations: 1.305 MB / 0.5569 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.3294, allocations: 4.315 MB / 0.5611 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3294, allocations: 0 / 0.5611 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3294, allocations: 4 kB / 0.5611 GB, free: 3.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.3295, allocations: 0 / 0.5611 GB, free: 3.406 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.003902/0.3334, allocations: 2.861 MB / 0.5639 GB, free: 500 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3334, allocations: 12.03 kB / 0.5639 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.3379, allocations: 1.553 MB / 0.5654 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.3399, allocations: 1.34 MB / 0.5668 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.692e-05/0.34, allocations: 148 kB / 0.5669 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.3403, allocations: 187.8 kB / 0.5671 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007754/0.3481, allocations: 6.25 MB / 0.5732 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.3481, allocations: 11.88 kB / 0.5732 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.3483, allocations: 87.91 kB / 0.5733 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.3502, allocations: 1.344 MB / 0.5746 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007972/0.3582, allocations: 5.325 MB / 0.5798 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.3806, allocations: 20.01 MB / 0.5993 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.3848, allocations: 2.083 MB / 0.6014 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008795/0.3857, allocations: 0.6875 MB / 0.602 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.3915, allocations: 3.483 MB / 0.6054 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3915, allocations: 39 kB / 0.6055 GB, free: 4.738 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.238e-06/0.3915, allocations: 0 / 0.6055 GB, free: 4.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005056/0.3966, allocations: 1.981 MB / 0.6074 GB, free: 2.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.3967, allocations: 59.84 kB / 0.6075 GB, free: 2.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.3993, allocations: 1.933 MB / 0.6093 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.3994, allocations: 33.7 kB / 0.6094 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.4005, allocations: 1.833 MB / 0.6112 GB, free: 14.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.4008, allocations: 316.1 kB / 0.6115 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007019/0.4015, allocations: 0.6151 MB / 0.6121 GB, free: 13.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4016, allocations: 361.8 kB / 0.6124 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.4029, allocations: 0.8842 MB / 0.6133 GB, free: 12.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.4052, allocations: 2.755 MB / 0.616 GB, free: 8.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.4093, allocations: 3.964 MB / 0.6198 GB, free: 4.074 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.683e-05/0.4094, allocations: 20 kB / 0.6199 GB, free: 4.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005629/0.415, allocations: 3.532 MB / 0.6233 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.4151, allocations: 32 kB / 0.6233 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.449e-05/0.4152, allocations: 64 kB / 0.6234 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.611e-05/0.4152, allocations: 88 kB / 0.6235 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.417, allocations: 0.6628 MB / 0.6241 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.741e-05/0.4171, allocations: 123.5 kB / 0.6242 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4189, allocations: 423.9 kB / 0.6247 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.4191, allocations: 192 kB / 0.6248 GB, free: 14.95 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.001742/0.4209, allocations: 1.338 MB / 0.6261 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.4211, allocations: 157.9 kB / 0.6263 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4215, allocations: 196.9 kB / 0.6265 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4215, allocations: 4 kB / 0.6265 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4215, allocations: 0 / 0.6265 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.4219, allocations: 226.8 kB / 0.6267 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.4221, allocations: 11.94 kB / 0.6267 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.4225, allocations: 19.97 kB / 0.6267 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.4226, allocations: 32.39 kB / 0.6268 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001342/0.4239, allocations: 0.9449 MB / 0.6277 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001245/0.4252, allocations: 1.143 MB / 0.6288 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004761/0.4257, allocations: 407.5 kB / 0.6292 GB, free: 10.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.4273, allocations: 1.195 MB / 0.6304 GB, free: 9.238 MB / 494.1 MB Notification: Performance of Backend: time 3.11e-07/0.4273, allocations: 0 / 0.6304 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003317/0.4306, allocations: 1.807 MB / 0.6321 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 0.008108/0.4388, allocations: 5.324 MB / 0.6373 GB, free: 2.066 MB / 494.1 MB Notification: Performance of Templates: time 0.03438/0.4732, allocations: 19.45 MB / 0.6563 GB, free: 14.64 MB / 0.5138 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches