Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 110.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 200.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 71.88 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 62.44 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01439/0.1234, allocations: 14.99 MB / 496.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009636/0.1331, allocations: 5.046 MB / 0.4897 GB, free: 452 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.1353, allocations: 115.7 kB / 0.4899 GB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009946/0.1453, allocations: 5.974 MB / 0.4957 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.1518, allocations: 2.746 MB / 0.4984 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.155, allocations: 1.571 MB / 0.4999 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.237/0.392, allocations: 7.772 MB / 0.5075 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.4048, allocations: 7.382 MB / 0.5147 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006909/0.4117, allocations: 2.974 MB / 0.5176 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006872/0.4187, allocations: 3.777 MB / 0.5213 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.4217, allocations: 0.5685 MB / 0.5218 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.4267, allocations: 1.388 MB / 0.5232 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006118/0.4329, allocations: 3.461 MB / 0.5266 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.4429, allocations: 3.831 MB / 0.5303 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.015/0.458, allocations: 11.6 MB / 0.5417 GB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.458, allocations: 0 / 0.5417 GB, free: 2.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.458, allocations: 0 / 0.5417 GB, free: 2.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000433/0.4585, allocations: 0 / 0.5417 GB, free: 2.723 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01854/0.477, allocations: 8.449 MB / 0.5499 GB, free: 12.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4771, allocations: 12.03 kB / 0.5499 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009534/0.4866, allocations: 2.475 MB / 0.5523 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.4965, allocations: 4.511 MB / 0.5567 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000426/0.4969, allocations: 424.3 kB / 0.5571 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.4992, allocations: 0.5443 MB / 0.5577 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/0.5307, allocations: 16.68 MB / 0.574 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002321/0.5309, allocations: 71.97 kB / 0.574 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/0.532, allocations: 262.7 kB / 0.5743 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004054/0.5361, allocations: 2.927 MB / 0.5771 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/0.562, allocations: 12.79 MB / 0.5896 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08705/0.6491, allocations: 63.96 MB / 0.6521 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.6641, allocations: 5.494 MB / 0.6575 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.667, allocations: 2.12 MB / 0.6595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/0.6832, allocations: 9.925 MB / 0.6692 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.6833, allocations: 58.97 kB / 0.6693 GB, free: 424 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.328e-06/0.6833, allocations: 0 / 0.6693 GB, free: 424 kB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.03673/0.72, allocations: 14.04 MB / 0.683 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.7202, allocations: 149.6 kB / 0.6831 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009407/0.7296, allocations: 6.296 MB / 0.6893 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003443/0.73, allocations: 49.7 kB / 0.6893 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003869/0.7338, allocations: 5.08 MB / 0.6943 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.7349, allocations: 0.8134 MB / 0.6951 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00231/0.7372, allocations: 1.677 MB / 0.6967 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7373, allocations: 305.1 kB / 0.697 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/0.7411, allocations: 2.327 MB / 0.6993 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007732/0.7488, allocations: 7.678 MB / 0.7068 GB, free: 7.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2562/1.005, allocations: 10.87 MB / 0.7174 GB, free: 174.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002727/1.005, allocations: 61.16 kB / 0.7175 GB, free: 174.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01818/1.024, allocations: 9.643 MB / 0.7269 GB, free: 172.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.024, allocations: 90.81 kB / 0.727 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003927/1.024, allocations: 189.2 kB / 0.7271 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/1.025, allocations: 250.2 kB / 0.7274 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006181/1.031, allocations: 1.926 MB / 0.7293 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002771/1.031, allocations: 372.2 kB / 0.7296 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006078/1.037, allocations: 411.1 kB / 0.73 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.038, allocations: 0.517 MB / 0.7305 GB, free: 171.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.007185/1.046, allocations: 3.299 MB / 0.7337 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.047, allocations: 0.5284 MB / 0.7343 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.048, allocations: 0.6179 MB / 0.7349 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.048, allocations: 23.59 kB / 0.7349 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/1.048, allocations: 0 / 0.7349 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.048, allocations: 13.11 kB / 0.7349 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.07, allocations: 16.45 MB / 0.751 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.07, allocations: 37.5 kB / 0.751 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.071, allocations: 390.5 kB / 0.7514 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.991e-05/1.071, allocations: 51.09 kB / 0.7514 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.072, allocations: 86.62 kB / 0.7515 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.744e-05/1.072, allocations: 74.97 kB / 0.7516 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.509e-05/1.072, allocations: 58.66 kB / 0.7516 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.075, allocations: 3.932 MB / 0.7555 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.076, allocations: 0.616 MB / 0.7561 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/1.077, allocations: 94.56 kB / 0.7562 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.079, allocations: 101.2 kB / 0.7562 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/1.079, allocations: 260.1 kB / 0.7565 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.079, allocations: 105.3 kB / 0.7566 GB, free: 160.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005098/1.084, allocations: 3.935 MB / 0.7604 GB, free: 159 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.8e-07/1.084, allocations: 0 / 0.7604 GB, free: 159 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006457/1.091, allocations: 1.315 MB / 0.7617 GB, free: 158.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0004429/1.091, allocations: 246.1 kB / 0.762 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0069/1.098, allocations: 5.428 MB / 0.7673 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.421e-05/1.098, allocations: 12.06 kB / 0.7673 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.099, allocations: 1.13 MB / 0.7684 GB, free: 152.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/1.104, allocations: 0.858 MB / 0.7692 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.127, allocations: 14.75 MB / 0.7836 GB, free: 137.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/1.132, allocations: 5.06 MB / 0.7886 GB, free: 132.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005473/1.138, allocations: 2.518 MB / 0.791 GB, free: 129.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/1.138, allocations: 343.4 kB / 0.7913 GB, free: 129.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/1.138, allocations: 8 kB / 0.7913 GB, free: 129.4 MB / 0.545 GB Notification: Performance of Templates: time 0.06642/1.205, allocations: 35.74 MB / 0.8262 GB, free: 94.05 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches