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.001518/0.001518, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001828/0.001828, allocations: 213 kB / 23.73 MB, free: 4.164 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2321/0.2321, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.002402/0.002402, allocations: 83.81 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3559, allocations: 66.09 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01145/0.3674, allocations: 8.399 MB / 0.5694 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007151/0.3745, allocations: 2.784 MB / 0.5721 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.3759, allocations: 63.81 kB / 0.5722 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.38, allocations: 1.939 MB / 0.574 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.383, allocations: 1.133 MB / 0.5752 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.3837, allocations: 295.4 kB / 0.5754 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003395/0.3871, allocations: 2.318 MB / 0.5777 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.3894, allocations: 1.734 MB / 0.5794 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.3906, allocations: 0.8879 MB / 0.5803 GB, free: 328 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.3923, allocations: 1.172 MB / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.3926, allocations: 196 kB / 0.5816 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.3938, allocations: 0.6083 MB / 0.5822 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.3949, allocations: 1.137 MB / 0.5833 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.396, allocations: 0.9471 MB / 0.5842 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.401, allocations: 4.349 MB / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.401, allocations: 0 / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.401, allocations: 0 / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.4011, allocations: 4 kB / 0.5885 GB, free: 7.883 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.005319/0.4064, allocations: 2.862 MB / 0.5913 GB, free: 4.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4064, allocations: 11.97 kB / 0.5913 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.4116, allocations: 1.578 MB / 0.5928 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.4147, allocations: 1.279 MB / 0.5941 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.4148, allocations: 148 kB / 0.5942 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.4152, allocations: 187.8 kB / 0.5944 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009589/0.4248, allocations: 6.246 MB / 0.6005 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/0.4248, allocations: 11.88 kB / 0.6005 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.4251, allocations: 87.91 kB / 0.6006 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.4273, allocations: 1.352 MB / 0.6019 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.4376, allocations: 5.322 MB / 0.6071 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/0.4672, allocations: 18.26 MB / 0.6249 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.4716, allocations: 1.549 MB / 0.6264 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.4726, allocations: 0.6329 MB / 0.6271 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/0.479, allocations: 2.892 MB / 0.6299 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4791, allocations: 39 kB / 0.6299 GB, free: 12.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.4791, allocations: 0 / 0.6299 GB, free: 12.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005464/0.4845, allocations: 1.967 MB / 0.6318 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.4846, allocations: 55.84 kB / 0.6319 GB, free: 10.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.4875, allocations: 1.939 MB / 0.6338 GB, free: 8.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.4876, allocations: 37.69 kB / 0.6338 GB, free: 8.406 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.4891, allocations: 1.915 MB / 0.6357 GB, free: 6.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.4894, allocations: 333.5 kB / 0.636 GB, free: 6.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008087/0.4902, allocations: 0.6195 MB / 0.6366 GB, free: 5.512 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4904, allocations: 353.9 kB / 0.637 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.4918, allocations: 0.8842 MB / 0.6378 GB, free: 4.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.4949, allocations: 2.751 MB / 0.6405 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005264/0.5002, allocations: 3.968 MB / 0.6444 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/0.5002, allocations: 20 kB / 0.6444 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006097/0.5063, allocations: 3.527 MB / 0.6478 GB, free: 8.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.5064, allocations: 34.19 kB / 0.6479 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.201e-05/0.5065, allocations: 68 kB / 0.6479 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.63e-05/0.5066, allocations: 84.75 kB / 0.648 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.5085, allocations: 0.655 MB / 0.6487 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001457/0.5087, allocations: 143.4 kB / 0.6488 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.5105, allocations: 416.9 kB / 0.6492 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.5108, allocations: 184 kB / 0.6494 GB, free: 6.578 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.002218/0.513, allocations: 1.342 MB / 0.6507 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.5132, allocations: 154.9 kB / 0.6508 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.5136, allocations: 192 kB / 0.651 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.5136, allocations: 8 kB / 0.651 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5136, allocations: 0 / 0.651 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5136, allocations: 3.984 kB / 0.651 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.5198, allocations: 3.11 MB / 0.6541 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5198, allocations: 8 kB / 0.6541 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.5202, allocations: 100.6 kB / 0.6542 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.5202, allocations: 8 kB / 0.6542 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.5203, allocations: 27.98 kB / 0.6542 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.5203, allocations: 11.98 kB / 0.6542 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.5203, allocations: 11.88 kB / 0.6542 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.5221, allocations: 1.225 MB / 0.6554 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.5224, allocations: 154.7 kB / 0.6556 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.5225, allocations: 20.03 kB / 0.6556 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.523, allocations: 31.92 kB / 0.6556 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.5231, allocations: 55.75 kB / 0.6557 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.5231, allocations: 24 kB / 0.6557 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00173/0.5249, allocations: 1.118 MB / 0.6568 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5249, allocations: 0 / 0.6568 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002474/0.5273, allocations: 0.7006 MB / 0.6575 GB, free: 14.07 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.0003297/0.5277, allocations: 146.9 kB / 0.6576 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003205/0.5309, allocations: 1.952 MB / 0.6595 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.5309, allocations: 8.062 kB / 0.6595 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.5315, allocations: 427.9 kB / 0.6599 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5326, allocations: 189.1 kB / 0.6601 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.5414, allocations: 5.068 MB / 0.6651 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/0.5439, allocations: 1.708 MB / 0.6667 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002282/0.5462, allocations: 0.935 MB / 0.6676 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.5465, allocations: 107.4 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of SimCode: time 1.432e-06/0.5465, allocations: 0 / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.03303/0.5796, allocations: 14.17 MB / 0.6816 GB, free: 5.387 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/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: 5.740937512367964]