Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 59.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3785, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01238/0.3909, allocations: 8.404 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007475/0.3984, allocations: 2.784 MB / 0.5727 GB, free: 8.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.4001, allocations: 55.81 kB / 0.5728 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.4043, allocations: 1.939 MB / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.4077, allocations: 1.136 MB / 0.5758 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.4086, allocations: 287.4 kB / 0.5761 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003441/0.412, allocations: 2.322 MB / 0.5783 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.4143, allocations: 1.734 MB / 0.58 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.4156, allocations: 0.8879 MB / 0.5809 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.4172, allocations: 1.176 MB / 0.582 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.4175, allocations: 192 kB / 0.5822 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4187, allocations: 0.6085 MB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.4198, allocations: 1.137 MB / 0.5839 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.4209, allocations: 0.9471 MB / 0.5849 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005003/0.4259, allocations: 4.341 MB / 0.5891 GB, free: 8.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4259, allocations: 4 kB / 0.5891 GB, free: 8.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4259, allocations: 4 kB / 0.5891 GB, free: 8.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.718e-05/0.426, allocations: 0 / 0.5891 GB, free: 8.062 MB / 430.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.005174/0.4312, allocations: 2.866 MB / 0.5919 GB, free: 5.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4312, allocations: 8.031 kB / 0.5919 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.4364, allocations: 1.578 MB / 0.5935 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.4397, allocations: 1.286 MB / 0.5947 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.4398, allocations: 144 kB / 0.5948 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/0.4403, allocations: 187.8 kB / 0.595 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.4506, allocations: 6.25 MB / 0.6011 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.4506, allocations: 11.88 kB / 0.6011 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.4508, allocations: 87.91 kB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.4531, allocations: 1.344 MB / 0.6025 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.4637, allocations: 5.334 MB / 0.6077 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.492, allocations: 18.25 MB / 0.6256 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.4964, allocations: 1.553 MB / 0.6271 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.4974, allocations: 0.6392 MB / 0.6277 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006252/0.5037, allocations: 2.884 MB / 0.6305 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.5037, allocations: 39 kB / 0.6306 GB, free: 12.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.766e-06/0.5037, allocations: 4 kB / 0.6306 GB, free: 12.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005473/0.5092, allocations: 1.974 MB / 0.6325 GB, free: 10.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.5092, allocations: 59.84 kB / 0.6325 GB, free: 10.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.5124, allocations: 1.927 MB / 0.6344 GB, free: 8.633 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.5125, allocations: 37.7 kB / 0.6345 GB, free: 8.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.5141, allocations: 1.919 MB / 0.6363 GB, free: 6.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.5145, allocations: 329.5 kB / 0.6367 GB, free: 6.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008683/0.5154, allocations: 0.6273 MB / 0.6373 GB, free: 5.688 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.5156, allocations: 345.9 kB / 0.6376 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.517, allocations: 0.8842 MB / 0.6385 GB, free: 4.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.5203, allocations: 2.751 MB / 0.6411 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/0.5255, allocations: 3.966 MB / 0.645 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.514e-05/0.5255, allocations: 23.94 kB / 0.645 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006102/0.5316, allocations: 3.526 MB / 0.6485 GB, free: 8.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.5317, allocations: 32 kB / 0.6485 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.5318, allocations: 72 kB / 0.6486 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.5319, allocations: 88 kB / 0.6487 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.5338, allocations: 0.655 MB / 0.6493 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.5339, allocations: 128.1 kB / 0.6494 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.5359, allocations: 420.9 kB / 0.6498 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/0.5363, allocations: 188 kB / 0.65 GB, free: 6.762 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.002541/0.5388, allocations: 1.354 MB / 0.6513 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.5391, allocations: 154.9 kB / 0.6515 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.5395, allocations: 188 kB / 0.6517 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.5395, allocations: 12 kB / 0.6517 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5395, allocations: 0 / 0.6517 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5395, allocations: 3.984 kB / 0.6517 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/0.5463, allocations: 3.102 MB / 0.6547 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.5463, allocations: 8 kB / 0.6547 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.5467, allocations: 99.81 kB / 0.6548 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.5467, allocations: 8.75 kB / 0.6548 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.5468, allocations: 19.98 kB / 0.6548 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/0.5468, allocations: 19.92 kB / 0.6549 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.5468, allocations: 11.94 kB / 0.6549 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.5486, allocations: 1.221 MB / 0.6561 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/0.549, allocations: 158.7 kB / 0.6562 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.5491, allocations: 20 kB / 0.6562 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.5495, allocations: 27.97 kB / 0.6563 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.5496, allocations: 51.75 kB / 0.6563 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.5497, allocations: 35.98 kB / 0.6563 GB, free: 56 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001739/0.5514, allocations: 1.114 MB / 0.6574 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5514, allocations: 0 / 0.6574 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002957/0.5544, allocations: 0.7045 MB / 0.6581 GB, free: 14.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.000425/0.5548, allocations: 138.9 kB / 0.6582 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003468/0.5583, allocations: 1.956 MB / 0.6602 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5583, allocations: 384 / 0.6602 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.5589, allocations: 435.9 kB / 0.6606 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5601, allocations: 186.9 kB / 0.6607 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.5719, allocations: 5.375 MB / 0.666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/0.5744, allocations: 1.712 MB / 0.6677 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.5749, allocations: 135.4 kB / 0.6678 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.5749, allocations: 0 / 0.6678 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of Templates: time 0.05339/0.6283, allocations: 30.04 MB / 0.6971 GB, free: 6.188 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.289324747864157]