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.001492/0.001492, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 80.5 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.132, allocations: 62.43 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0171/0.1491, allocations: 14.99 MB / 495.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.1606, allocations: 5.05 MB / 0.489 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.1638, allocations: 123.6 kB / 0.4891 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01137/0.1752, allocations: 5.97 MB / 0.4949 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.1833, allocations: 2.731 MB / 0.4976 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.1872, allocations: 1.579 MB / 0.4992 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2359/0.4231, allocations: 7.775 MB / 0.5067 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.4359, allocations: 7.393 MB / 0.514 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.4432, allocations: 2.967 MB / 0.5169 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007732/0.4509, allocations: 3.777 MB / 0.5206 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003812/0.4548, allocations: 0.5692 MB / 0.5211 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.4605, allocations: 1.393 MB / 0.5225 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005165/0.4657, allocations: 3.465 MB / 0.5259 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006376/0.4721, allocations: 3.826 MB / 0.5296 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.4841, allocations: 11.23 MB / 0.5406 GB, free: 2.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4842, allocations: 6.375 kB / 0.5406 GB, free: 2.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4842, allocations: 3.969 kB / 0.5406 GB, free: 2.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004801/0.4847, allocations: 0 / 0.5406 GB, free: 2.598 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.02086/0.5055, allocations: 8.453 MB / 0.5488 GB, free: 12.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5056, allocations: 8.031 kB / 0.5488 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.5168, allocations: 2.474 MB / 0.5512 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5276, allocations: 4.402 MB / 0.5555 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.528, allocations: 428.8 kB / 0.556 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.5301, allocations: 0.5388 MB / 0.5565 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03579/0.5659, allocations: 16.68 MB / 0.5728 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003894/0.5663, allocations: 80.23 kB / 0.5728 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002299/0.5686, allocations: 263.6 kB / 0.5731 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004938/0.5736, allocations: 2.922 MB / 0.5759 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03089/0.6045, allocations: 12.79 MB / 0.5884 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09782/0.7023, allocations: 64.29 MB / 0.6512 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/0.7189, allocations: 5.502 MB / 0.6566 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/0.7226, allocations: 2.114 MB / 0.6587 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01978/0.7424, allocations: 9.936 MB / 0.6684 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.7425, allocations: 47.88 kB / 0.6684 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.539e-06/0.7425, allocations: 4 kB / 0.6684 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04401/0.7865, allocations: 14.04 MB / 0.6821 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.7867, allocations: 150.8 kB / 0.6823 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/0.8006, allocations: 6.292 MB / 0.6884 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003881/0.801, allocations: 57.41 kB / 0.6885 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004978/0.806, allocations: 5.078 MB / 0.6934 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.8071, allocations: 0.8146 MB / 0.6942 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004577/0.8117, allocations: 1.676 MB / 0.6959 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.8119, allocations: 309.1 kB / 0.6961 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004944/0.8168, allocations: 2.324 MB / 0.6984 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/0.8273, allocations: 7.677 MB / 0.7059 GB, free: 7.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2541/1.081, allocations: 10.87 MB / 0.7165 GB, free: 175.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001882/1.082, allocations: 54.62 kB / 0.7166 GB, free: 175.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.02141/1.103, allocations: 9.65 MB / 0.726 GB, free: 173.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/1.103, allocations: 90.78 kB / 0.7261 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004988/1.104, allocations: 190.8 kB / 0.7263 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/1.104, allocations: 249.3 kB / 0.7265 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007123/1.112, allocations: 1.93 MB / 0.7284 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006769/1.112, allocations: 370.9 kB / 0.7287 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006328/1.119, allocations: 409.6 kB / 0.7291 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.12, allocations: 0.5165 MB / 0.7296 GB, free: 172.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.006999/1.127, allocations: 3.294 MB / 0.7329 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.128, allocations: 0.5279 MB / 0.7334 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/1.13, allocations: 0.6217 MB / 0.734 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/1.13, allocations: 21.25 kB / 0.734 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/1.13, allocations: 1.969 kB / 0.734 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.13, allocations: 14.3 kB / 0.734 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/1.158, allocations: 16.45 MB / 0.7501 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.925e-05/1.158, allocations: 35.53 kB / 0.7501 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.159, allocations: 386.7 kB / 0.7505 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.365e-05/1.159, allocations: 52.59 kB / 0.7505 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.159, allocations: 90.56 kB / 0.7506 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.752e-05/1.16, allocations: 72.28 kB / 0.7507 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-05/1.16, allocations: 59.88 kB / 0.7507 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/1.163, allocations: 3.944 MB / 0.7546 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.164, allocations: 0.6087 MB / 0.7552 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/1.165, allocations: 93.91 kB / 0.7553 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.167, allocations: 103.9 kB / 0.7554 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.167, allocations: 253.9 kB / 0.7556 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.167, allocations: 112.7 kB / 0.7557 GB, free: 161.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006226/1.173, allocations: 3.93 MB / 0.7596 GB, free: 159.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.173, allocations: 3.938 kB / 0.7596 GB, free: 159.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008219/1.182, allocations: 1.317 MB / 0.7609 GB, free: 158.6 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.000639/1.182, allocations: 249.5 kB / 0.7611 GB, free: 158.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00811/1.19, allocations: 5.494 MB / 0.7665 GB, free: 153.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.388e-05/1.19, allocations: 4 kB / 0.7665 GB, free: 153.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.192, allocations: 1.141 MB / 0.7676 GB, free: 152.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005488/1.197, allocations: 0.8556 MB / 0.7684 GB, free: 151.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.22, allocations: 15.67 MB / 0.7837 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005536/1.226, allocations: 5.043 MB / 0.7886 GB, free: 131.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.227, allocations: 419.4 kB / 0.789 GB, free: 131.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.227, allocations: 2.625 kB / 0.789 GB, free: 131.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1071/1.334, allocations: 83.97 MB / 0.871 GB, free: 47.6 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 -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