Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001801/0.001801, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002172/0.002172, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.554/1.554, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.2199/0.2199, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.282e-05, allocations: 2.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1977/0.1977, allocations: 8.414 MB / 451.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.2032, allocations: 2.787 MB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.2043, allocations: 57.19 kB / 453.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.208, allocations: 2.035 MB / 455.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.211, allocations: 1.173 MB / 457.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.2118, allocations: 319.2 kB / 457.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.2148, allocations: 2.364 MB / 459.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.2168, allocations: 1.747 MB / 461.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.2186, allocations: 1.289 MB / 462.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.2202, allocations: 1.134 MB / 464 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.2205, allocations: 198.2 kB / 464.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.2217, allocations: 0.6426 MB / 464.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009429/0.2226, allocations: 1.18 MB / 466 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008292/0.2235, allocations: 0.715 MB / 466.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.228, allocations: 4.284 MB / 471 MB, free: 5.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.228, allocations: 3.984 kB / 471 MB, free: 5.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.228, allocations: 0 / 471 MB, free: 5.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.2282, allocations: 1.406 kB / 471 MB, free: 5.809 MB / 366.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.006024/0.2342, allocations: 2.828 MB / 473.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2342, allocations: 9.625 kB / 473.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/0.2395, allocations: 1.597 MB / 475.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.2425, allocations: 1.275 MB / 476.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.2426, allocations: 142.9 kB / 476.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004446/0.2431, allocations: 185 kB / 477 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009682/0.2528, allocations: 6.258 MB / 483.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.113e-05/0.2528, allocations: 19.81 kB / 483.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.2531, allocations: 83.91 kB / 483.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/0.2554, allocations: 1.348 MB / 484.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.2662, allocations: 5.335 MB / 490.1 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.2947, allocations: 18.32 MB / 0.4965 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/0.2993, allocations: 1.634 MB / 0.4981 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.3003, allocations: 0.6391 MB / 0.4987 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006484/0.3068, allocations: 2.978 MB / 0.5016 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.3068, allocations: 39.94 kB / 0.5016 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/0.3068, allocations: 0 / 0.5016 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005955/0.3128, allocations: 2.104 MB / 0.5037 GB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3128, allocations: 55.91 kB / 0.5037 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.3157, allocations: 1.943 MB / 0.5056 GB, free: 9.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.3158, allocations: 33.7 kB / 0.5057 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.3173, allocations: 1.895 MB / 0.5075 GB, free: 7.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.3177, allocations: 333.5 kB / 0.5078 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008653/0.3185, allocations: 0.6117 MB / 0.5084 GB, free: 6.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3187, allocations: 341.9 kB / 0.5088 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.3202, allocations: 0.8881 MB / 0.5096 GB, free: 5.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/0.3233, allocations: 2.751 MB / 0.5123 GB, free: 1.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/0.3285, allocations: 3.971 MB / 0.5162 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.023e-05/0.3286, allocations: 20 kB / 0.5162 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006068/0.3346, allocations: 3.521 MB / 0.5196 GB, free: 9.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.3347, allocations: 36 kB / 0.5197 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.331e-05/0.3348, allocations: 68.12 kB / 0.5197 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.3349, allocations: 88.88 kB / 0.5198 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.337, allocations: 0.655 MB / 0.5205 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.3371, allocations: 131.5 kB / 0.5206 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.3392, allocations: 412.9 kB / 0.521 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.3395, allocations: 191.9 kB / 0.5212 GB, free: 7.98 MB / 430.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.002684/0.3422, allocations: 1.346 MB / 0.5225 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.3425, allocations: 158.9 kB / 0.5226 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.3429, allocations: 192 kB / 0.5228 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.3429, allocations: 9.062 kB / 0.5228 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3429, allocations: 0 / 0.5228 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.3429, allocations: 0 / 0.5228 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/0.3496, allocations: 3.136 MB / 0.5259 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3496, allocations: 8.031 kB / 0.5259 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.3503, allocations: 95.81 kB / 0.526 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/0.3503, allocations: 8 kB / 0.526 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.3504, allocations: 27.8 kB / 0.526 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.3504, allocations: 8 kB / 0.526 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-05/0.3504, allocations: 11.94 kB / 0.526 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.353, allocations: 1.226 MB / 0.5272 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.3536, allocations: 154.8 kB / 0.5274 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.3539, allocations: 16 kB / 0.5274 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/0.3547, allocations: 23.98 kB / 0.5274 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.3548, allocations: 55.8 kB / 0.5275 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/0.3549, allocations: 24 kB / 0.5275 GB, free: 1.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002674/0.3576, allocations: 1.118 MB / 0.5286 GB, free: 164 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3576, allocations: 0 / 0.5286 GB, free: 164 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004707/0.3623, allocations: 0.7162 MB / 0.5293 GB, free: 15.44 MB / 446.1 MB 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.0005271/0.3628, allocations: 138.9 kB / 0.5294 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005213/0.3681, allocations: 1.952 MB / 0.5313 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3681, allocations: 0 / 0.5313 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3691, allocations: 434.6 kB / 0.5317 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.371, allocations: 188.7 kB / 0.5319 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.3854, allocations: 5.028 MB / 0.5368 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003709/0.3891, allocations: 1.706 MB / 0.5385 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003538/0.3927, allocations: 0.935 MB / 0.5394 GB, free: 4.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.3931, allocations: 112.5 kB / 0.5395 GB, free: 4.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3931, allocations: 4 kB / 0.5395 GB, free: 4.816 MB / 446.1 MB Notification: Performance of Templates: time 0.04257/0.4356, allocations: 11.61 MB / 0.5509 GB, free: 9.387 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.580290377140045]