Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.001465/0.001465, allocations: 105 kB / 20.44 MB, free: 1.504 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.001585/0.001585, allocations: 221.4 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 78.55 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1115, allocations: 61.04 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01202/0.1235, allocations: 10.63 MB / 0.5277 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.1294, allocations: 3.03 MB / 0.5307 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1305, allocations: 59.81 kB / 0.5308 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.1342, allocations: 2.033 MB / 0.5327 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1369, allocations: 1.226 MB / 0.5339 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1376, allocations: 287.5 kB / 0.5342 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.1407, allocations: 2.458 MB / 0.5366 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.1432, allocations: 1.816 MB / 0.5384 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1446, allocations: 0.9579 MB / 0.5393 GB, free: 224 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1998/0.3444, allocations: 1.372 MB / 0.5407 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005127/0.345, allocations: 212.7 kB / 0.5409 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.3463, allocations: 0.7289 MB / 0.5416 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.3473, allocations: 1.247 MB / 0.5428 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.3485, allocations: 1.432 MB / 0.5442 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.3536, allocations: 4.724 MB / 0.5488 GB, free: 10.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3536, allocations: 0.5938 kB / 0.5488 GB, free: 10.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3536, allocations: 1.281 kB / 0.5488 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001098/0.3537, allocations: 0.8438 kB / 0.5488 GB, free: 10.95 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005679/0.3594, allocations: 3.082 MB / 0.5518 GB, free: 9.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3594, allocations: 9.812 kB / 0.5518 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/0.3647, allocations: 1.634 MB / 0.5534 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.3682, allocations: 1.338 MB / 0.5547 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.3684, allocations: 156.3 kB / 0.5549 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.3689, allocations: 204.9 kB / 0.5551 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00982/0.3787, allocations: 6.783 MB / 0.5617 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.3788, allocations: 11.84 kB / 0.5617 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.379, allocations: 91.66 kB / 0.5618 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001835/0.3808, allocations: 1.486 MB / 0.5633 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008695/0.3895, allocations: 5.802 MB / 0.5689 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02496/0.4145, allocations: 21.39 MB / 0.5898 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.4184, allocations: 1.729 MB / 0.5915 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.4194, allocations: 0.7213 MB / 0.5922 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006451/0.4258, allocations: 3.285 MB / 0.5954 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.4259, allocations: 43.22 kB / 0.5954 GB, free: 15.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 2.796e-06/0.4259, allocations: 0 / 0.5954 GB, free: 15.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.005488/0.4314, allocations: 2.199 MB / 0.5976 GB, free: 13.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.4314, allocations: 63.81 kB / 0.5977 GB, free: 13.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.4343, allocations: 2.036 MB / 0.5996 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.4344, allocations: 37.7 kB / 0.5997 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.4358, allocations: 2.035 MB / 0.6017 GB, free: 9.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.4362, allocations: 382.8 kB / 0.602 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/0.437, allocations: 0.6625 MB / 0.6027 GB, free: 8.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.4372, allocations: 361.9 kB / 0.603 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4387, allocations: 0.9666 MB / 0.604 GB, free: 7.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.4419, allocations: 2.915 MB / 0.6068 GB, free: 3.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/0.4469, allocations: 4.248 MB / 0.611 GB, free: 14.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.534e-05/0.4469, allocations: 16 kB / 0.611 GB, free: 14.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005829/0.4527, allocations: 3.797 MB / 0.6147 GB, free: 10.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.4528, allocations: 32 kB / 0.6147 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.311e-05/0.4528, allocations: 71.98 kB / 0.6148 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.453, allocations: 95.94 kB / 0.6149 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.455, allocations: 0.7103 MB / 0.6156 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/0.4551, allocations: 143.4 kB / 0.6157 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.4569, allocations: 448.7 kB / 0.6161 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.4572, allocations: 199.9 kB / 0.6163 GB, free: 9.188 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.00231/0.4595, allocations: 1.418 MB / 0.6177 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.4597, allocations: 186.6 kB / 0.6179 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.4618, allocations: 1.193 MB / 0.6191 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.4618, allocations: 19.92 kB / 0.6191 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4618, allocations: 0 / 0.6191 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4618, allocations: 0 / 0.6191 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008143/0.4699, allocations: 4.956 MB / 0.6239 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.47, allocations: 13.06 kB / 0.6239 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.4705, allocations: 136 kB / 0.6241 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.4705, allocations: 12 kB / 0.6241 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.4706, allocations: 30.28 kB / 0.6241 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/0.4706, allocations: 19.92 kB / 0.6241 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.4706, allocations: 11.94 kB / 0.6241 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.4725, allocations: 1.523 MB / 0.6256 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.4731, allocations: 202.5 kB / 0.6258 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.4733, allocations: 31.38 kB / 0.6258 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.4738, allocations: 35.97 kB / 0.6259 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.474, allocations: 75.66 kB / 0.6259 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.474, allocations: 38.11 kB / 0.626 GB, free: 14.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001963/0.476, allocations: 1.324 MB / 0.6273 GB, free: 13.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.476, allocations: 0 / 0.6273 GB, free: 13.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002688/0.4787, allocations: 0.763 MB / 0.628 GB, free: 12.87 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003334/0.479, allocations: 150.8 kB / 0.6282 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003718/0.4827, allocations: 2.161 MB / 0.6303 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4827, allocations: 384 / 0.6303 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007463/0.4835, allocations: 0.5095 MB / 0.6308 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.4849, allocations: 258.2 kB / 0.631 GB, free: 9.832 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.4956, allocations: 5.968 MB / 0.6368 GB, free: 3.707 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/0.4982, allocations: 2.41 MB / 0.6392 GB, free: 1.277 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.4988, allocations: 155.4 kB / 0.6393 GB, free: 1.129 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4988, allocations: 0 / 0.6393 GB, free: 1.129 MB / 478.1 MB Notification: Performance of Templates: time 0.05016/0.5489, allocations: 32.89 MB / 0.6715 GB, free: 264 kB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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: 9.301129372091964]