Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 160.1 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9924/0.9924, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1494/0.1494, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.52e-05, allocations: 5.516 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02347/0.02349, allocations: 14.07 MB / 394.1 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.03573, allocations: 4.933 MB / 399 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.03845, allocations: 139.3 kB / 399.1 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006331/0.04478, allocations: 6.34 MB / 405.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006083/0.05086, allocations: 2.924 MB / 408.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.05372, allocations: 1.786 MB / 410.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009414/0.06314, allocations: 9.14 MB / 419.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007215/0.07035, allocations: 6.584 MB / 425.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/0.07785, allocations: 4.546 MB / 430.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/0.08377, allocations: 4.466 MB / 434.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.08611, allocations: 0.582 MB / 435.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.08918, allocations: 1.369 MB / 436.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004138/0.09332, allocations: 3.83 MB / 440.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.09727, allocations: 2.286 MB / 443 MB, free: 7.488 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.1074, allocations: 7.59 MB / 450.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1075, allocations: 0 / 450.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1075, allocations: 0 / 450.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000483/0.1079, allocations: 0 / 450.6 MB, free: 15.87 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01418/0.1221, allocations: 8.714 MB / 459.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1222, allocations: 8.031 kB / 459.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.1278, allocations: 2.361 MB / 461.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.134, allocations: 3.782 MB / 465.5 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.1343, allocations: 415 kB / 465.9 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.1361, allocations: 0.5314 MB / 466.4 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.1535, allocations: 9.282 MB / 475.7 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.1537, allocations: 79.31 kB / 475.7 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007639/0.1545, allocations: 259.8 kB / 476 MB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002683/0.1572, allocations: 2.678 MB / 478.7 MB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.1691, allocations: 3.98 MB / 482.7 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4357/0.6048, allocations: 70.93 MB / 0.5406 GB, free: 49.42 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6151, allocations: 3.265 MB / 0.5438 GB, free: 46.19 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.6166, allocations: 0.656 MB / 0.5444 GB, free: 45.53 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.6273, allocations: 6.024 MB / 0.5503 GB, free: 39.72 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.6274, allocations: 55.36 kB / 0.5504 GB, free: 39.66 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 6.722e-06/0.6274, allocations: 0 / 0.5504 GB, free: 39.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.027/0.6544, allocations: 7.942 MB / 0.5581 GB, free: 32.18 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.6545, allocations: 149.8 kB / 0.5583 GB, free: 32 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/0.6597, allocations: 5.477 MB / 0.5636 GB, free: 26.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003468/0.66, allocations: 61.69 kB / 0.5637 GB, free: 26.7 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002393/0.6624, allocations: 5.542 MB / 0.5691 GB, free: 21.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007696/0.6632, allocations: 0.888 MB / 0.57 GB, free: 20.6 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.6644, allocations: 1.853 MB / 0.5718 GB, free: 18.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.6645, allocations: 476.8 kB / 0.5722 GB, free: 18.26 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009906/0.6655, allocations: 0.6989 MB / 0.5729 GB, free: 17.55 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/0.6689, allocations: 8.661 MB / 0.5814 GB, free: 5.316 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00894/0.6778, allocations: 10.31 MB / 0.5914 GB, free: 7.473 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002761/0.6781, allocations: 52 kB / 0.5915 GB, free: 7.422 MB / 426.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01372/0.6918, allocations: 6.607 MB / 0.5979 GB, free: 0.8164 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.6919, allocations: 87.94 kB / 0.598 GB, free: 0.7305 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.6921, allocations: 192 kB / 0.5982 GB, free: 0.543 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.6922, allocations: 252 kB / 0.5984 GB, free: 304 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.6961, allocations: 1.888 MB / 0.6003 GB, free: 14.41 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000242/0.6964, allocations: 374.5 kB / 0.6006 GB, free: 14.04 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/0.7017, allocations: 367.7 kB / 0.601 GB, free: 13.68 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008088/0.7025, allocations: 464 kB / 0.6014 GB, free: 13.23 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.002391/0.7049, allocations: 0.867 MB / 0.6023 GB, free: 12.34 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.7061, allocations: 0.563 MB / 0.6028 GB, free: 11.78 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.7067, allocations: 497.9 kB / 0.6033 GB, free: 11.28 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.7067, allocations: 24 kB / 0.6033 GB, free: 11.26 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.7068, allocations: 0 / 0.6033 GB, free: 11.26 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7068, allocations: 7.969 kB / 0.6033 GB, free: 11.25 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.7209, allocations: 9.185 MB / 0.6123 GB, free: 1.297 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/0.721, allocations: 36 kB / 0.6123 GB, free: 1.262 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.7218, allocations: 367.4 kB / 0.6127 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-05/0.7218, allocations: 57.17 kB / 0.6128 GB, free: 0.8477 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.7219, allocations: 80 kB / 0.6128 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.697e-05/0.722, allocations: 75.66 kB / 0.6129 GB, free: 0.6953 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.523e-05/0.722, allocations: 63.47 kB / 0.613 GB, free: 0.6367 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.7263, allocations: 3.535 MB / 0.6164 GB, free: 12.36 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.7275, allocations: 0.551 MB / 0.617 GB, free: 11.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/0.7279, allocations: 87.97 kB / 0.617 GB, free: 11.71 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.7291, allocations: 79.97 kB / 0.6171 GB, free: 11.64 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.7293, allocations: 262.7 kB / 0.6174 GB, free: 11.38 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7294, allocations: 99.62 kB / 0.6175 GB, free: 11.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002668/0.7321, allocations: 2.236 MB / 0.6196 GB, free: 9.078 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7321, allocations: 4 kB / 0.6196 GB, free: 9.074 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006053/0.7382, allocations: 1.492 MB / 0.6211 GB, free: 7.582 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0005069/0.7387, allocations: 254.2 kB / 0.6213 GB, free: 7.32 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005489/0.7442, allocations: 3.425 MB / 0.6247 GB, free: 3.918 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.602e-05/0.7442, allocations: 4.938 kB / 0.6247 GB, free: 3.914 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008657/0.7451, allocations: 0.611 MB / 0.6253 GB, free: 3.309 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/0.7495, allocations: 0.7966 MB / 0.6261 GB, free: 2.547 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/0.7704, allocations: 13.34 MB / 0.6391 GB, free: 4.359 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/0.773, allocations: 2.086 MB / 0.6411 GB, free: 2.238 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002245/0.7752, allocations: 0.7477 MB / 0.6419 GB, free: 1.484 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.7763, allocations: 0.8612 MB / 0.6427 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of SimCode: time 2.745e-06/0.7763, allocations: 0 / 0.6427 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of Templates: time 0.2163/0.9926, allocations: 38.23 MB / 0.68 GB, free: 181.5 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","",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.711684922222048]