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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 113.9 kB / 18.46 MB, free: 4.59 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.001839/0.001839, allocations: 186.1 kB / 19.39 MB, free: 3.668 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.08 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.2068/0.2068, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 56.14 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3124, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01013/0.3226, allocations: 9.734 MB / 0.5291 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.3288, allocations: 2.929 MB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.3301, allocations: 50.16 kB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.3346, allocations: 1.983 MB / 0.5339 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.3376, allocations: 1.156 MB / 0.535 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.3383, allocations: 290.8 kB / 0.5353 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.3414, allocations: 2.33 MB / 0.5376 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.3445, allocations: 2.338 MB / 0.5399 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.346, allocations: 0.8998 MB / 0.5408 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.3479, allocations: 1.176 MB / 0.5419 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006562/0.3486, allocations: 198.6 kB / 0.5421 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3502, allocations: 0.7001 MB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.3516, allocations: 1.165 MB / 0.5439 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.3537, allocations: 1.355 MB / 0.5452 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006162/0.3599, allocations: 4.471 MB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3599, allocations: 0 / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3599, allocations: 0 / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.3601, allocations: 0 / 0.5496 GB, free: 13.18 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.006357/0.3664, allocations: 3.024 MB / 0.5526 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3665, allocations: 12.03 kB / 0.5526 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/0.3718, allocations: 1.598 MB / 0.5541 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.3743, allocations: 1.364 MB / 0.5555 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.3744, allocations: 152 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.3748, allocations: 195.8 kB / 0.5558 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009856/0.3847, allocations: 6.425 MB / 0.5621 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/0.3847, allocations: 19.88 kB / 0.5621 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.3851, allocations: 87.94 kB / 0.5622 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.3874, allocations: 1.407 MB / 0.5635 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.3977, allocations: 5.488 MB / 0.5689 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.4259, allocations: 20.46 MB / 0.5889 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.4303, allocations: 2.084 MB / 0.5909 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4313, allocations: 0.6914 MB / 0.5916 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006195/0.4375, allocations: 3.519 MB / 0.595 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4376, allocations: 35 kB / 0.5951 GB, free: 13.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.947e-06/0.4376, allocations: 0 / 0.5951 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005378/0.443, allocations: 1.982 MB / 0.597 GB, free: 11.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.443, allocations: 55.84 kB / 0.5971 GB, free: 11.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.4463, allocations: 1.97 MB / 0.599 GB, free: 9.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.4464, allocations: 37.7 kB / 0.599 GB, free: 9.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.4477, allocations: 1.954 MB / 0.6009 GB, free: 7.305 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.448, allocations: 329.5 kB / 0.6012 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.4488, allocations: 0.6313 MB / 0.6019 GB, free: 6.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.4491, allocations: 357.9 kB / 0.6022 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.4505, allocations: 0.8881 MB / 0.6031 GB, free: 5.094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.453, allocations: 2.782 MB / 0.6058 GB, free: 1.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.4572, allocations: 3.995 MB / 0.6097 GB, free: 12.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/0.4573, allocations: 20 kB / 0.6097 GB, free: 12.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005367/0.4627, allocations: 3.551 MB / 0.6132 GB, free: 8.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.4627, allocations: 34.34 kB / 0.6132 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-05/0.4628, allocations: 72.12 kB / 0.6133 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.974e-05/0.4629, allocations: 91.94 kB / 0.6134 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.4649, allocations: 0.6667 MB / 0.614 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001277/0.465, allocations: 127.5 kB / 0.6141 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4669, allocations: 432.8 kB / 0.6145 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.4672, allocations: 188 kB / 0.6147 GB, free: 7.27 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.001875/0.4691, allocations: 1.373 MB / 0.6161 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.4693, allocations: 166.8 kB / 0.6162 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.4697, allocations: 197.2 kB / 0.6164 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4697, allocations: 15.91 kB / 0.6164 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4697, allocations: 4 kB / 0.6164 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.47, allocations: 235.8 kB / 0.6167 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4703, allocations: 8 kB / 0.6167 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.4708, allocations: 23.97 kB / 0.6167 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.4709, allocations: 32.41 kB / 0.6167 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/0.4723, allocations: 0.9487 MB / 0.6176 GB, free: 4.242 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001334/0.4737, allocations: 1.148 MB / 0.6188 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004877/0.4742, allocations: 399.5 kB / 0.6191 GB, free: 2.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.4758, allocations: 1.215 MB / 0.6203 GB, free: 1.477 MB / 478.1 MB Notification: Performance of Backend: time 5.01e-07/0.4758, allocations: 0 / 0.6203 GB, free: 1.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.4792, allocations: 1.809 MB / 0.6221 GB, free: 15.67 MB / 494.1 MB Notification: Performance of SimCode: time 0.008698/0.4879, allocations: 5.538 MB / 0.6275 GB, free: 10.08 MB / 494.1 MB Notification: Performance of Templates: time 0.03775/0.5257, allocations: 19.94 MB / 0.647 GB, free: 6.18 MB / 0.4981 GB 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/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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches