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.002033/0.002033, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002605/0.002605, allocations: 203 kB / 23.72 MB, free: 4.391 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.555/1.555, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.23/0.23, allocations: 46.94 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 179] 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.00273/0.00273, allocations: 83.86 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3752, allocations: 66.08 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01162/0.3868, allocations: 8.403 MB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.3933, allocations: 2.78 MB / 0.5721 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.3943, allocations: 55.81 kB / 0.5721 GB, free: 8.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.3983, allocations: 1.935 MB / 0.574 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.4011, allocations: 1.136 MB / 0.5751 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.4018, allocations: 299.4 kB / 0.5754 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.4048, allocations: 2.322 MB / 0.5777 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.407, allocations: 1.726 MB / 0.5794 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.4082, allocations: 0.8918 MB / 0.5803 GB, free: 320 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.4098, allocations: 1.172 MB / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.4101, allocations: 192 kB / 0.5816 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.4112, allocations: 0.6084 MB / 0.5822 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.4123, allocations: 1.137 MB / 0.5833 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.4134, allocations: 0.947 MB / 0.5842 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004721/0.4181, allocations: 4.345 MB / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4181, allocations: 0 / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4181, allocations: 0 / 0.5885 GB, free: 7.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.452e-05/0.4182, allocations: 0 / 0.5885 GB, free: 7.887 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.005471/0.4237, allocations: 2.874 MB / 0.5913 GB, free: 4.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.4237, allocations: 8.031 kB / 0.5913 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.429, allocations: 1.574 MB / 0.5928 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.432, allocations: 1.286 MB / 0.5941 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4322, allocations: 140 kB / 0.5942 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.4325, allocations: 195.8 kB / 0.5944 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.4428, allocations: 6.242 MB / 0.6005 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.938e-05/0.4428, allocations: 19.81 kB / 0.6005 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.4433, allocations: 83.91 kB / 0.6006 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002246/0.4455, allocations: 1.348 MB / 0.6019 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.4563, allocations: 5.324 MB / 0.6071 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.4857, allocations: 18.25 MB / 0.6249 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/0.4901, allocations: 1.559 MB / 0.6264 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.4912, allocations: 0.6328 MB / 0.6271 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006653/0.4979, allocations: 2.88 MB / 0.6299 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.4979, allocations: 39 kB / 0.6299 GB, free: 12.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.266e-06/0.4979, allocations: 0 / 0.6299 GB, free: 12.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005659/0.5036, allocations: 1.974 MB / 0.6318 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.5036, allocations: 59.84 kB / 0.6319 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/0.5072, allocations: 1.931 MB / 0.6338 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.5072, allocations: 37.69 kB / 0.6338 GB, free: 8.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.5089, allocations: 1.919 MB / 0.6357 GB, free: 6.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.5093, allocations: 333.5 kB / 0.636 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000931/0.5102, allocations: 0.6156 MB / 0.6366 GB, free: 5.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5104, allocations: 349.9 kB / 0.6369 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.5119, allocations: 0.8881 MB / 0.6378 GB, free: 4.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/0.5152, allocations: 2.751 MB / 0.6405 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005317/0.5205, allocations: 3.968 MB / 0.6444 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.184e-05/0.5206, allocations: 20 kB / 0.6444 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006248/0.5269, allocations: 3.52 MB / 0.6478 GB, free: 8.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.5269, allocations: 43.92 kB / 0.6479 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.527, allocations: 64 kB / 0.6479 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.5271, allocations: 88 kB / 0.648 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.5292, allocations: 0.6511 MB / 0.6487 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.5293, allocations: 135.4 kB / 0.6488 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.5313, allocations: 421 kB / 0.6492 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.5316, allocations: 188 kB / 0.6494 GB, free: 6.574 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.002191/0.5338, allocations: 1.338 MB / 0.6507 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.5341, allocations: 162.9 kB / 0.6508 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.5345, allocations: 188 kB / 0.651 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.5345, allocations: 8 kB / 0.651 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5345, allocations: 0 / 0.651 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5345, allocations: 3.984 kB / 0.651 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/0.541, allocations: 3.122 MB / 0.6541 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.541, allocations: 4 kB / 0.6541 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.5414, allocations: 95.81 kB / 0.6542 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.5414, allocations: 8 kB / 0.6542 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.5415, allocations: 20 kB / 0.6542 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.5415, allocations: 8 kB / 0.6542 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.5415, allocations: 15.88 kB / 0.6542 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5431, allocations: 1.23 MB / 0.6554 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.5435, allocations: 158.7 kB / 0.6556 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.5437, allocations: 20.08 kB / 0.6556 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.5442, allocations: 23.97 kB / 0.6556 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5444, allocations: 59.66 kB / 0.6557 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.5444, allocations: 28 kB / 0.6557 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001813/0.5462, allocations: 1.11 MB / 0.6568 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5462, allocations: 0 / 0.6568 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002627/0.5489, allocations: 0.7045 MB / 0.6575 GB, free: 14.06 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.0003224/0.5492, allocations: 142.9 kB / 0.6576 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003331/0.5525, allocations: 1.96 MB / 0.6595 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5525, allocations: 0 / 0.6595 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.5531, allocations: 437.2 kB / 0.6599 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5543, allocations: 196.5 kB / 0.6601 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/0.5638, allocations: 5.065 MB / 0.6651 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/0.5668, allocations: 1.712 MB / 0.6667 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0023/0.5691, allocations: 0.9233 MB / 0.6676 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.5695, allocations: 119.4 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of SimCode: time 9.91e-07/0.5695, allocations: 0 / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of Templates: time 0.03231/0.6018, allocations: 14.17 MB / 0.6816 GB, free: 5.375 MB / 0.5137 GB " [Timeout remaining time 659] 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.8937199506908655]