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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 113.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 190 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.2 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 56.09 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01002/0.3465, allocations: 9.738 MB / 0.5291 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006633/0.3531, allocations: 2.914 MB / 0.5319 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.3551, allocations: 53.47 kB / 0.532 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004341/0.3595, allocations: 1.995 MB / 0.5339 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.3631, allocations: 1.156 MB / 0.535 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3642, allocations: 289.7 kB / 0.5353 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.3681, allocations: 2.326 MB / 0.5376 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.3718, allocations: 2.34 MB / 0.5399 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.3737, allocations: 0.8991 MB / 0.5408 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.3758, allocations: 1.175 MB / 0.5419 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007896/0.3767, allocations: 198.5 kB / 0.5421 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3786, allocations: 0.6994 MB / 0.5428 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.3803, allocations: 1.161 MB / 0.5439 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.3823, allocations: 1.363 MB / 0.5452 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.3876, allocations: 4.462 MB / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3877, allocations: 3.938 kB / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3877, allocations: 0 / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.294e-05/0.3878, allocations: 0 / 0.5496 GB, free: 13.21 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004532/0.3923, allocations: 3.028 MB / 0.5526 GB, free: 10.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3924, allocations: 11.97 kB / 0.5526 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/0.3988, allocations: 1.598 MB / 0.5541 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/0.4031, allocations: 1.36 MB / 0.5555 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.4033, allocations: 152 kB / 0.5556 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006488/0.404, allocations: 191.8 kB / 0.5558 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.4191, allocations: 6.428 MB / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.346e-05/0.4192, allocations: 19.88 kB / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000627/0.4199, allocations: 91.89 kB / 0.5622 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003308/0.4232, allocations: 1.403 MB / 0.5635 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.439, allocations: 5.488 MB / 0.5689 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/0.4676, allocations: 20.46 MB / 0.5889 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/0.4719, allocations: 2.08 MB / 0.5909 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.4731, allocations: 0.6914 MB / 0.5916 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006347/0.4794, allocations: 3.512 MB / 0.595 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4795, allocations: 35 kB / 0.5951 GB, free: 13.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.829e-06/0.4795, allocations: 4 kB / 0.5951 GB, free: 13.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005138/0.4846, allocations: 1.99 MB / 0.597 GB, free: 11.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4847, allocations: 59.84 kB / 0.5971 GB, free: 11.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.4878, allocations: 1.97 MB / 0.599 GB, free: 9.348 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.4878, allocations: 29.7 kB / 0.599 GB, free: 9.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4893, allocations: 1.958 MB / 0.6009 GB, free: 7.332 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.4896, allocations: 325.5 kB / 0.6012 GB, free: 7.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008427/0.4905, allocations: 0.6313 MB / 0.6019 GB, free: 6.371 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4907, allocations: 353.9 kB / 0.6022 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.492, allocations: 0.892 MB / 0.6031 GB, free: 5.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.4946, allocations: 2.778 MB / 0.6058 GB, free: 1.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.4991, allocations: 3.995 MB / 0.6097 GB, free: 12.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.138e-05/0.4992, allocations: 27.94 kB / 0.6097 GB, free: 12.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005815/0.505, allocations: 3.551 MB / 0.6132 GB, free: 8.891 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.5051, allocations: 36 kB / 0.6132 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-05/0.5052, allocations: 72.12 kB / 0.6133 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.604e-05/0.5053, allocations: 91.94 kB / 0.6134 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.5072, allocations: 0.6589 MB / 0.614 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/0.5073, allocations: 135.4 kB / 0.6141 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.5096, allocations: 432.8 kB / 0.6145 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.5099, allocations: 184 kB / 0.6147 GB, free: 7.297 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001997/0.5119, allocations: 1.373 MB / 0.6161 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.5122, allocations: 174.8 kB / 0.6162 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.5125, allocations: 201.2 kB / 0.6164 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5125, allocations: 7.922 kB / 0.6164 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5125, allocations: 0 / 0.6164 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.5129, allocations: 235.8 kB / 0.6167 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.5131, allocations: 4 kB / 0.6167 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.5135, allocations: 23.97 kB / 0.6167 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.5136, allocations: 32.41 kB / 0.6167 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001401/0.515, allocations: 0.941 MB / 0.6176 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001344/0.5163, allocations: 1.156 MB / 0.6188 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000469/0.5168, allocations: 403.5 kB / 0.6191 GB, free: 2.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00171/0.5185, allocations: 1.211 MB / 0.6203 GB, free: 1.508 MB / 478.1 MB Notification: Performance of Backend: time 4.61e-07/0.5186, allocations: 0 / 0.6203 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003529/0.5221, allocations: 1.815 MB / 0.6221 GB, free: 15.7 MB / 494.1 MB Notification: Performance of SimCode: time 0.008926/0.531, allocations: 5.539 MB / 0.6275 GB, free: 10.1 MB / 494.1 MB Notification: Performance of Templates: time 0.03911/0.5702, allocations: 19.94 MB / 0.647 GB, free: 6.203 MB / 0.4981 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches