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.001487/0.001487, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001699/0.001699, allocations: 218 kB / 24.5 MB, free: 4.172 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.351/1.351, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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.205/0.205, allocations: 46.92 MB / 361.5 MB, free: 4.285 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 0.002101/0.002101, allocations: 79.86 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2724, allocations: 66.07 MB / 0.5619 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01086/0.2832, allocations: 9.591 MB / 0.5713 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.2885, allocations: 2.962 MB / 0.5742 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006041/0.2891, allocations: 59.81 kB / 0.5743 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.2926, allocations: 2.025 MB / 0.5762 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.2946, allocations: 1.137 MB / 0.5773 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.2952, allocations: 291.4 kB / 0.5776 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.2978, allocations: 2.328 MB / 0.5799 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.2996, allocations: 1.742 MB / 0.5816 GB, free: 0 / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.3005, allocations: 0.8879 MB / 0.5825 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.3019, allocations: 1.254 MB / 0.5837 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.3021, allocations: 196 kB / 0.5839 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.3032, allocations: 0.7255 MB / 0.5846 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009186/0.3041, allocations: 1.137 MB / 0.5857 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.3052, allocations: 1.305 MB / 0.587 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004011/0.3092, allocations: 4.342 MB / 0.5912 GB, free: 6.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3092, allocations: 0 / 0.5912 GB, free: 6.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3092, allocations: 0 / 0.5912 GB, free: 6.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-05/0.3092, allocations: 0 / 0.5912 GB, free: 6.121 MB / 430.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.004105/0.3133, allocations: 2.862 MB / 0.594 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3134, allocations: 8.031 kB / 0.594 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.3179, allocations: 1.578 MB / 0.5956 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.3204, allocations: 1.282 MB / 0.5968 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.3205, allocations: 152 kB / 0.597 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.3208, allocations: 191.9 kB / 0.5971 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008224/0.329, allocations: 6.238 MB / 0.6032 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.329, allocations: 15.88 kB / 0.6032 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.3293, allocations: 87.91 kB / 0.6033 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/0.3311, allocations: 1.34 MB / 0.6046 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008241/0.3394, allocations: 5.34 MB / 0.6098 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.3626, allocations: 19.96 MB / 0.6293 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.3662, allocations: 1.556 MB / 0.6309 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/0.3671, allocations: 0.6368 MB / 0.6315 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005576/0.3727, allocations: 3.031 MB / 0.6344 GB, free: 8.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3727, allocations: 39 kB / 0.6345 GB, free: 8.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.184e-06/0.3727, allocations: 0 / 0.6345 GB, free: 8.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.004995/0.3777, allocations: 1.982 MB / 0.6364 GB, free: 6.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3778, allocations: 55.84 kB / 0.6365 GB, free: 6.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3803, allocations: 1.942 MB / 0.6384 GB, free: 4.801 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.3803, allocations: 37.64 kB / 0.6384 GB, free: 4.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.3819, allocations: 1.915 MB / 0.6403 GB, free: 2.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.3822, allocations: 325.6 kB / 0.6406 GB, free: 2.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000835/0.383, allocations: 0.6234 MB / 0.6412 GB, free: 1.867 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3832, allocations: 357.9 kB / 0.6415 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3846, allocations: 0.8842 MB / 0.6424 GB, free: 0.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.3877, allocations: 2.751 MB / 0.6451 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/0.3926, allocations: 3.972 MB / 0.649 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-05/0.3927, allocations: 16 kB / 0.649 GB, free: 8.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00535/0.398, allocations: 3.531 MB / 0.6524 GB, free: 4.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.3981, allocations: 32 kB / 0.6525 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.555e-05/0.3981, allocations: 64 kB / 0.6525 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.3983, allocations: 88 kB / 0.6526 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.4, allocations: 0.6628 MB / 0.6532 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.4001, allocations: 123.5 kB / 0.6534 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4017, allocations: 433.1 kB / 0.6538 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.4019, allocations: 192 kB / 0.654 GB, free: 2.914 MB / 494.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.001827/0.4038, allocations: 1.342 MB / 0.6553 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.404, allocations: 162.9 kB / 0.6554 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.4043, allocations: 204.9 kB / 0.6556 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.4043, allocations: 8 kB / 0.6556 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4043, allocations: 7.938 kB / 0.6556 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4043, allocations: 0 / 0.6556 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.4106, allocations: 4.048 MB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4106, allocations: 4.75 kB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.411, allocations: 95.83 kB / 0.6597 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.411, allocations: 12 kB / 0.6597 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.4111, allocations: 27.92 kB / 0.6597 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.4111, allocations: 8 kB / 0.6597 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/0.4111, allocations: 11.94 kB / 0.6597 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.4125, allocations: 1.235 MB / 0.6609 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.4128, allocations: 186.6 kB / 0.6611 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.413, allocations: 19.94 kB / 0.6611 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.4134, allocations: 27.97 kB / 0.6612 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.4135, allocations: 59.75 kB / 0.6612 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.4135, allocations: 24 kB / 0.6612 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001756/0.4153, allocations: 1.271 MB / 0.6625 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4153, allocations: 0 / 0.6625 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002149/0.4174, allocations: 0.6968 MB / 0.6632 GB, free: 9.242 MB / 0.4981 GB 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.0003399/0.4178, allocations: 135 kB / 0.6633 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.4207, allocations: 1.962 MB / 0.6652 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4207, allocations: 0 / 0.6652 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.4212, allocations: 433.5 kB / 0.6656 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4222, allocations: 241.3 kB / 0.6659 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.4306, allocations: 5.398 MB / 0.6711 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.433, allocations: 2.275 MB / 0.6734 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.4334, allocations: 147.4 kB / 0.6735 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4334, allocations: 0 / 0.6735 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.04456/0.478, allocations: 30.26 MB / 0.703 GB, free: 328 kB / 0.5294 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/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: 9.027621058980003]