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.001914/0.001914, allocations: 79.19 kB / 20.52 MB, free: 1.281 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.002685/0.002685, allocations: 164 kB / 23.76 MB, free: 4.465 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.373/1.373, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] 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.2243/0.2243, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.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.002333/0.002333, allocations: 67.91 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 61.06 MB / 468.8 MB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2807/0.4056, allocations: 9.261 MB / 478.1 MB, free: 43.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006928/0.4125, allocations: 2.859 MB / 480.9 MB, free: 43.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.4147, allocations: 59.88 kB / 481 MB, free: 43.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003838/0.4185, allocations: 1.961 MB / 482.9 MB, free: 43.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.4219, allocations: 1.225 MB / 484.2 MB, free: 43.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.4226, allocations: 291.2 kB / 484.4 MB, free: 43.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.4257, allocations: 2.442 MB / 486.9 MB, free: 42.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.4275, allocations: 1.815 MB / 488.7 MB, free: 41.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.4285, allocations: 0.9619 MB / 489.7 MB, free: 41.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.4299, allocations: 1.291 MB / 491 MB, free: 40.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.4302, allocations: 211.9 kB / 491.2 MB, free: 40.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.4313, allocations: 0.6192 MB / 491.8 MB, free: 40.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000848/0.4322, allocations: 1.246 MB / 493 MB, free: 40.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009101/0.4331, allocations: 1.036 MB / 494.1 MB, free: 39.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003855/0.4369, allocations: 4.742 MB / 498.8 MB, free: 37.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.437, allocations: 3.938 kB / 498.8 MB, free: 37.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.437, allocations: 0 / 498.8 MB, free: 37.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.845e-05/0.4371, allocations: 4 kB / 498.8 MB, free: 37.96 MB / 446.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.006843/0.4439, allocations: 3.078 MB / 0.4901 GB, free: 36.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.444, allocations: 9.25 kB / 0.4901 GB, free: 36.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.4494, allocations: 1.651 MB / 0.4917 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.4532, allocations: 1.359 MB / 0.4931 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.4533, allocations: 152.9 kB / 0.4932 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005658/0.4539, allocations: 206 kB / 0.4934 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4687, allocations: 6.778 MB / 0.5 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.4688, allocations: 13.06 kB / 0.5001 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009371/0.4697, allocations: 97.94 kB / 0.5001 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.4726, allocations: 1.479 MB / 0.5016 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.4865, allocations: 5.792 MB / 0.5072 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.5195, allocations: 19.63 MB / 0.5264 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.524, allocations: 1.787 MB / 0.5282 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.5253, allocations: 0.7216 MB / 0.5289 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006615/0.5319, allocations: 3.203 MB / 0.532 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5319, allocations: 47.14 kB / 0.532 GB, free: 12.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 3.767e-06/0.5319, allocations: 0 / 0.532 GB, free: 12.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.005362/0.5373, allocations: 2.32 MB / 0.5343 GB, free: 9.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.5373, allocations: 64 kB / 0.5344 GB, free: 9.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.5401, allocations: 2.012 MB / 0.5363 GB, free: 7.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.5402, allocations: 37.7 kB / 0.5364 GB, free: 7.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009463/0.5411, allocations: 2.047 MB / 0.5384 GB, free: 5.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.5414, allocations: 381.1 kB / 0.5387 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007499/0.5421, allocations: 0.6593 MB / 0.5394 GB, free: 4.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.5422, allocations: 345.9 kB / 0.5397 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.5435, allocations: 0.9666 MB / 0.5406 GB, free: 3.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.5458, allocations: 2.928 MB / 0.5435 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005515/0.5513, allocations: 4.236 MB / 0.5476 GB, free: 10.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.822e-05/0.5513, allocations: 24.81 kB / 0.5477 GB, free: 10.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007423/0.5588, allocations: 3.782 MB / 0.5514 GB, free: 6.336 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-05/0.5589, allocations: 40.06 kB / 0.5514 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.559, allocations: 68 kB / 0.5515 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.5591, allocations: 92 kB / 0.5516 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.5614, allocations: 0.7135 MB / 0.5522 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001452/0.5616, allocations: 139.4 kB / 0.5524 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.564, allocations: 436.8 kB / 0.5528 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/0.5643, allocations: 206 kB / 0.553 GB, free: 4.66 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.002505/0.5668, allocations: 1.428 MB / 0.5544 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.5672, allocations: 170.8 kB / 0.5546 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.5693, allocations: 1.188 MB / 0.5557 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.5693, allocations: 16 kB / 0.5557 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5693, allocations: 3.938 kB / 0.5557 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.5693, allocations: 3.984 kB / 0.5557 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008477/0.5778, allocations: 3.955 MB / 0.5596 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.5778, allocations: 8 kB / 0.5596 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.5785, allocations: 127.8 kB / 0.5597 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.5785, allocations: 16 kB / 0.5597 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.5785, allocations: 24 kB / 0.5598 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/0.5786, allocations: 19.92 kB / 0.5598 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.5786, allocations: 16.31 kB / 0.5598 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.5809, allocations: 1.501 MB / 0.5613 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/0.5814, allocations: 166.7 kB / 0.5614 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.5817, allocations: 23.94 kB / 0.5614 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006617/0.5823, allocations: 41.41 kB / 0.5615 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.5825, allocations: 83.64 kB / 0.5616 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.5825, allocations: 39.94 kB / 0.5616 GB, free: 11.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.5845, allocations: 1.155 MB / 0.5627 GB, free: 10.37 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5845, allocations: 0 / 0.5627 GB, free: 10.37 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003127/0.5876, allocations: 0.7824 MB / 0.5635 GB, free: 9.586 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.0003836/0.588, allocations: 146.9 kB / 0.5636 GB, free: 9.434 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003905/0.5919, allocations: 2.166 MB / 0.5658 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.5919, allocations: 3.938 kB / 0.5658 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.5927, allocations: 0.5146 MB / 0.5663 GB, free: 6.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5941, allocations: 196.3 kB / 0.5664 GB, free: 6.574 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.6054, allocations: 5.608 MB / 0.5719 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/0.609, allocations: 1.846 MB / 0.5737 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002491/0.6115, allocations: 0.9868 MB / 0.5747 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.6119, allocations: 128.5 kB / 0.5748 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6119, allocations: 0 / 0.5748 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Templates: time 0.0303/0.6422, allocations: 12.59 MB / 0.5871 GB, free: 1.312 MB / 494.1 MB " [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 -s ida -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: 5.659135009045713]