Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001508/0.001508, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001696/0.001696, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.35/1.35, 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.2045/0.2045, allocations: 46.92 MB / 361.5 MB, free: 4.195 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2899, allocations: 66.08 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0109/0.3008, allocations: 9.594 MB / 0.5713 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.3062, allocations: 2.959 MB / 0.5742 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008238/0.307, allocations: 55.81 kB / 0.5743 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.3105, allocations: 2.029 MB / 0.5762 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.3127, allocations: 1.136 MB / 0.5774 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.3133, allocations: 283.5 kB / 0.5776 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.316, allocations: 2.337 MB / 0.5799 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.3179, allocations: 1.738 MB / 0.5816 GB, free: 4 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009003/0.3188, allocations: 0.8956 MB / 0.5825 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.3202, allocations: 1.25 MB / 0.5837 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.3204, allocations: 192 kB / 0.5839 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3215, allocations: 0.7255 MB / 0.5846 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009629/0.3225, allocations: 1.133 MB / 0.5857 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.3235, allocations: 1.312 MB / 0.587 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004109/0.3277, allocations: 4.333 MB / 0.5912 GB, free: 6.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3277, allocations: 4 kB / 0.5912 GB, free: 6.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3277, allocations: 0 / 0.5912 GB, free: 6.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.3277, allocations: 0 / 0.5912 GB, free: 6.129 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.004074/0.3318, allocations: 2.866 MB / 0.594 GB, free: 3.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3318, allocations: 12.03 kB / 0.594 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.3365, allocations: 1.578 MB / 0.5956 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.3389, allocations: 1.275 MB / 0.5968 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3391, allocations: 140 kB / 0.5969 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.3394, allocations: 192 kB / 0.5971 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008419/0.3478, allocations: 6.246 MB / 0.6032 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.184e-05/0.3478, allocations: 19.88 kB / 0.6032 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.3481, allocations: 87.91 kB / 0.6033 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001886/0.3499, allocations: 1.344 MB / 0.6046 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009168/0.3591, allocations: 5.34 MB / 0.6099 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.385, allocations: 19.94 MB / 0.6293 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.3889, allocations: 1.556 MB / 0.6309 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009613/0.3898, allocations: 0.6446 MB / 0.6315 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005898/0.3957, allocations: 3.031 MB / 0.6344 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3957, allocations: 38.98 kB / 0.6345 GB, free: 8.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.846e-06/0.3957, allocations: 0 / 0.6345 GB, free: 8.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.004987/0.4007, allocations: 1.986 MB / 0.6364 GB, free: 6.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.4008, allocations: 59.84 kB / 0.6365 GB, free: 6.742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.4035, allocations: 1.938 MB / 0.6384 GB, free: 4.801 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.4036, allocations: 33.7 kB / 0.6384 GB, free: 4.762 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.405, allocations: 1.911 MB / 0.6403 GB, free: 2.828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.4053, allocations: 329.5 kB / 0.6406 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007786/0.4061, allocations: 0.6156 MB / 0.6412 GB, free: 1.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4062, allocations: 365.9 kB / 0.6415 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4075, allocations: 0.8842 MB / 0.6424 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.4104, allocations: 2.751 MB / 0.6451 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/0.4149, allocations: 3.97 MB / 0.649 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-05/0.4149, allocations: 20 kB / 0.649 GB, free: 8.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005423/0.4204, allocations: 3.529 MB / 0.6524 GB, free: 4.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.4204, allocations: 32 kB / 0.6525 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/0.4205, allocations: 68 kB / 0.6525 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.181e-05/0.4206, allocations: 84.78 kB / 0.6526 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.4224, allocations: 0.655 MB / 0.6532 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.4226, allocations: 139.4 kB / 0.6534 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.4243, allocations: 424.8 kB / 0.6538 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.4245, allocations: 191.9 kB / 0.654 GB, free: 2.918 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.001931/0.4264, allocations: 1.346 MB / 0.6553 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.4268, allocations: 166.9 kB / 0.6554 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.4271, allocations: 196.9 kB / 0.6556 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.4271, allocations: 11.94 kB / 0.6556 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4271, allocations: 0 / 0.6556 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4271, allocations: 11.92 kB / 0.6556 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007471/0.4346, allocations: 4.041 MB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.4346, allocations: 4 kB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.4351, allocations: 103.8 kB / 0.6597 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.4352, allocations: 8 kB / 0.6597 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.4352, allocations: 16 kB / 0.6597 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.4352, allocations: 15.92 kB / 0.6597 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4352, allocations: 7.938 kB / 0.6597 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.4372, allocations: 1.251 MB / 0.661 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.4377, allocations: 174.6 kB / 0.6611 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.438, allocations: 23.98 kB / 0.6612 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.4386, allocations: 31.92 kB / 0.6612 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4387, allocations: 51.81 kB / 0.6612 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.4388, allocations: 31.98 kB / 0.6613 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00233/0.4411, allocations: 1.263 MB / 0.6625 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4411, allocations: 0 / 0.6625 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002517/0.4436, allocations: 0.6929 MB / 0.6632 GB, free: 9.25 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.0002975/0.4439, allocations: 143 kB / 0.6633 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.4468, allocations: 1.954 MB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.4468, allocations: 6 kB / 0.6652 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.4474, allocations: 437 kB / 0.6656 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4485, allocations: 235.3 kB / 0.6659 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.4578, allocations: 5.398 MB / 0.6711 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/0.4606, allocations: 2.275 MB / 0.6734 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.461, allocations: 147.4 kB / 0.6735 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.461, allocations: 0 / 0.6735 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.04726/0.5083, allocations: 30.26 MB / 0.703 GB, free: 336 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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: 8.993748158914968]