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.002379/0.002379, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002742/0.002742, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.351/1.351, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2043/0.2043, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.461e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008708/0.008733, allocations: 10.11 MB / 357 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.01605, allocations: 2.944 MB / 360 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.01727, allocations: 59.81 kB / 360 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.0219, allocations: 2.149 MB / 362.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.0256, allocations: 1.264 MB / 363.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.02643, allocations: 315.2 kB / 363.8 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004119/0.03055, allocations: 2.489 MB / 366.3 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.03338, allocations: 1.887 MB / 368.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.03546, allocations: 1.403 MB / 369.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.03793, allocations: 1.29 MB / 370.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.03836, allocations: 212 kB / 371 MB, free: 1.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.03972, allocations: 0.6552 MB / 371.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.04119, allocations: 1.297 MB / 373 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.04243, allocations: 0.7981 MB / 373.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006432/0.04886, allocations: 4.695 MB / 378.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.04887, allocations: 0 / 378.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.04887, allocations: 0 / 378.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.04899, allocations: 4 kB / 378.5 MB, free: 10.09 MB / 314.7 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.007868/0.05686, allocations: 3.651 MB / 382.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.05691, allocations: 8.031 kB / 382.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0064/0.06331, allocations: 1.957 MB / 384.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.06766, allocations: 1.288 MB / 385.4 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.06784, allocations: 156.3 kB / 385.6 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007427/0.06859, allocations: 192.3 kB / 385.7 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.07966, allocations: 3.867 MB / 389.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/0.07972, allocations: 15.88 kB / 389.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/0.08003, allocations: 95.83 kB / 389.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.0828, allocations: 1.477 MB / 391.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009151/0.09196, allocations: 2.229 MB / 393.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/0.1358, allocations: 26.16 MB / 419.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004468/0.1403, allocations: 1.059 MB / 420.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.141, allocations: 299.8 kB / 420.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007814/0.1489, allocations: 2.755 MB / 423.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.1489, allocations: 46.05 kB / 423.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 3.116e-06/0.1489, allocations: 0 / 423.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.005373/0.1543, allocations: 1.438 MB / 425.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.1544, allocations: 60.06 kB / 425.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/0.1584, allocations: 2.346 MB / 427.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.1586, allocations: 33.7 kB / 427.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003145/0.1617, allocations: 2.249 MB / 429.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006756/0.1624, allocations: 417.1 kB / 430.3 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.1638, allocations: 0.8424 MB / 431.1 MB, free: 3.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000418/0.1642, allocations: 0.5471 MB / 431.7 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.1652, allocations: 362.1 kB / 432 MB, free: 2.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/0.1696, allocations: 3.347 MB / 435.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/0.1756, allocations: 4.065 MB / 439.4 MB, free: 8.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.1757, allocations: 20 kB / 439.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006794/0.1825, allocations: 2.731 MB / 442.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.1826, allocations: 36 kB / 442.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.273e-05/0.1827, allocations: 68 kB / 442.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.1828, allocations: 92 kB / 442.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.1851, allocations: 0.7096 MB / 443.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001387/0.1853, allocations: 139.4 kB / 443.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.1878, allocations: 448.8 kB / 443.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003907/0.1881, allocations: 200 kB / 443.8 MB, free: 4.375 MB / 378.7 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.001603/0.1898, allocations: 493.3 kB / 444.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.1902, allocations: 186.9 kB / 444.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.1917, allocations: 0.6066 MB / 445.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.1918, allocations: 16 kB / 445.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1918, allocations: 0 / 445.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1918, allocations: 3.984 kB / 445.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1822/0.374, allocations: 4.327 MB / 449.5 MB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.374, allocations: 9.906 kB / 449.5 MB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.3746, allocations: 131.2 kB / 449.6 MB, free: 97.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.3746, allocations: 12.31 kB / 449.6 MB, free: 97.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/0.3747, allocations: 30.09 kB / 449.6 MB, free: 97.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.3747, allocations: 16.28 kB / 449.7 MB, free: 97.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.3747, allocations: 13.59 kB / 449.7 MB, free: 97.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3763, allocations: 1.178 MB / 450.8 MB, free: 96.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.3767, allocations: 171.1 kB / 451 MB, free: 96.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.3768, allocations: 23.62 kB / 451 MB, free: 96.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.3774, allocations: 39.5 kB / 451.1 MB, free: 96.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3775, allocations: 78.33 kB / 451.2 MB, free: 96.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.3776, allocations: 41.31 kB / 451.2 MB, free: 96.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001496/0.3791, allocations: 0.9632 MB / 452.2 MB, free: 96.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3791, allocations: 0 / 452.2 MB, free: 96.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002684/0.3818, allocations: 0.7787 MB / 452.9 MB, free: 96.72 MB / 378.7 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.000329/0.3821, allocations: 161.1 kB / 453.1 MB, free: 96.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.385, allocations: 1.545 MB / 454.6 MB, free: 96.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.385, allocations: 3.656 kB / 454.6 MB, free: 96.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.3855, allocations: 308.1 kB / 454.9 MB, free: 96.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3867, allocations: 206.5 kB / 455.1 MB, free: 96.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.3939, allocations: 4.931 MB / 460.1 MB, free: 93.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.3956, allocations: 1.643 MB / 461.7 MB, free: 93.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001751/0.3973, allocations: 0.8507 MB / 462.6 MB, free: 93.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.3976, allocations: 125 kB / 462.7 MB, free: 93.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.864e-06/0.3976, allocations: 0 / 462.7 MB, free: 93.76 MB / 378.7 MB Notification: Performance of Templates: time 0.02282/0.4204, allocations: 12.5 MB / 475.2 MB, free: 83.74 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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.603750460082665]