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.001509/0.001509, allocations: 113.9 kB / 18.46 MB, free: 4.605 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.001773/0.001773, allocations: 186.1 kB / 19.39 MB, free: 3.68 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.372/1.372, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2014/0.2014, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3083, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009755/0.3181, allocations: 9.744 MB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006098/0.3242, allocations: 2.918 MB / 0.5319 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008761/0.3251, allocations: 52.31 kB / 0.532 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.3286, allocations: 1.988 MB / 0.5339 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.3314, allocations: 1.156 MB / 0.535 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.3322, allocations: 287.1 kB / 0.5353 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.3355, allocations: 2.337 MB / 0.5376 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.3381, allocations: 2.328 MB / 0.5399 GB, free: 6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.3394, allocations: 0.9027 MB / 0.5408 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3408, allocations: 1.172 MB / 0.5419 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.3411, allocations: 199.1 kB / 0.5421 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.3424, allocations: 0.7064 MB / 0.5428 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009162/0.3433, allocations: 1.157 MB / 0.5439 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.3444, allocations: 1.359 MB / 0.5452 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.349, allocations: 4.466 MB / 0.5496 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.349, allocations: 0 / 0.5496 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.349, allocations: 0 / 0.5496 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.376e-05/0.3491, allocations: 3.938 kB / 0.5496 GB, free: 13.37 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.004184/0.3533, allocations: 3.024 MB / 0.5526 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3533, allocations: 8.031 kB / 0.5526 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/0.3584, allocations: 1.598 MB / 0.5541 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.3606, allocations: 1.36 MB / 0.5555 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.3607, allocations: 148.1 kB / 0.5556 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.361, allocations: 199.7 kB / 0.5558 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008021/0.369, allocations: 6.428 MB / 0.5621 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.3691, allocations: 15.88 kB / 0.5621 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.3693, allocations: 95.88 kB / 0.5622 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002046/0.3714, allocations: 1.399 MB / 0.5635 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008485/0.3799, allocations: 5.491 MB / 0.5689 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.4038, allocations: 20.47 MB / 0.5889 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.4078, allocations: 2.077 MB / 0.5909 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.4087, allocations: 0.6914 MB / 0.5916 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005485/0.4142, allocations: 3.519 MB / 0.595 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4142, allocations: 42.94 kB / 0.5951 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.006e-06/0.4143, allocations: 0 / 0.5951 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005263/0.4195, allocations: 1.982 MB / 0.597 GB, free: 11.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.4196, allocations: 59.84 kB / 0.5971 GB, free: 11.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.4219, allocations: 1.967 MB / 0.599 GB, free: 9.516 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.4219, allocations: 29.7 kB / 0.599 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.4231, allocations: 1.965 MB / 0.6009 GB, free: 7.492 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.4233, allocations: 321.6 kB / 0.6012 GB, free: 7.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007021/0.424, allocations: 0.6313 MB / 0.6019 GB, free: 6.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4242, allocations: 353.9 kB / 0.6022 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.4254, allocations: 0.892 MB / 0.6031 GB, free: 5.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.4278, allocations: 2.778 MB / 0.6058 GB, free: 1.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.4316, allocations: 3.996 MB / 0.6097 GB, free: 12.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/0.4317, allocations: 24 kB / 0.6097 GB, free: 12.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004819/0.4365, allocations: 3.555 MB / 0.6132 GB, free: 9.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.4366, allocations: 36 kB / 0.6132 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.55e-05/0.4366, allocations: 68.12 kB / 0.6133 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8e-05/0.4367, allocations: 91.94 kB / 0.6134 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.4386, allocations: 0.6628 MB / 0.614 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.033e-05/0.4387, allocations: 131.5 kB / 0.6141 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4403, allocations: 432.8 kB / 0.6145 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.4406, allocations: 188 kB / 0.6147 GB, free: 7.457 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.001741/0.4423, allocations: 1.369 MB / 0.6161 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4425, allocations: 170.8 kB / 0.6162 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.4428, allocations: 205.2 kB / 0.6164 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4429, allocations: 3.984 kB / 0.6164 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4429, allocations: 0 / 0.6164 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.4431, allocations: 235.8 kB / 0.6166 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.4433, allocations: 8 kB / 0.6167 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.4437, allocations: 19.97 kB / 0.6167 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.4438, allocations: 32.41 kB / 0.6167 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001342/0.4451, allocations: 0.9449 MB / 0.6176 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001231/0.4464, allocations: 1.152 MB / 0.6188 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004742/0.4469, allocations: 403.5 kB / 0.6191 GB, free: 2.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.4484, allocations: 1.211 MB / 0.6203 GB, free: 1.676 MB / 478.1 MB Notification: Performance of Backend: time 2.6e-07/0.4484, allocations: 0 / 0.6203 GB, free: 1.676 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.4516, allocations: 1.822 MB / 0.6221 GB, free: 15.86 MB / 494.1 MB Notification: Performance of SimCode: time 0.008234/0.4598, allocations: 5.543 MB / 0.6275 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Templates: time 0.03575/0.4956, allocations: 19.93 MB / 0.647 GB, free: 6.371 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