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.00159/0.00159, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002038, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.307/2.307, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3789/0.3789, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 80.25 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1717, allocations: 62.43 MB / 480.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4217/0.5934, allocations: 84.39 MB / 0.5513 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06149/0.6549, allocations: 16.15 MB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02614/0.6811, allocations: 385.6 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.6963, allocations: 5.786 MB / 0.5731 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.7076, allocations: 2.559 MB / 0.5756 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006111/0.7137, allocations: 1.502 MB / 0.5771 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01788/0.7317, allocations: 7.812 MB / 0.5847 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01802/0.7498, allocations: 7.766 MB / 0.5923 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/0.7578, allocations: 3.05 MB / 0.5952 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008912/0.7668, allocations: 4.214 MB / 0.5994 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002991/0.7698, allocations: 0.5703 MB / 0.5999 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.7754, allocations: 1.397 MB / 0.6013 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007072/0.7825, allocations: 3.515 MB / 0.6047 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009587/0.7921, allocations: 3.868 MB / 0.6085 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.8095, allocations: 9.196 MB / 0.6175 GB, free: 10.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8095, allocations: 0 / 0.6175 GB, free: 10.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8096, allocations: 8 kB / 0.6175 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004979/0.8101, allocations: 0 / 0.6175 GB, free: 10.38 MB / 462.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.0305/0.8406, allocations: 8.444 MB / 0.6257 GB, free: 1.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.8407, allocations: 12.03 kB / 0.6257 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.8577, allocations: 2.475 MB / 0.6282 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.8718, allocations: 4.396 MB / 0.6324 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/0.8726, allocations: 423 kB / 0.6329 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002983/0.8756, allocations: 0.5542 MB / 0.6334 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05195/0.9276, allocations: 16.68 MB / 0.6497 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004543/0.9281, allocations: 71.25 kB / 0.6498 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002691/0.9308, allocations: 267.8 kB / 0.65 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007228/0.9381, allocations: 2.92 MB / 0.6529 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04374/0.9818, allocations: 12.79 MB / 0.6653 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8203/1.802, allocations: 64.29 MB / 0.7281 GB, free: 154 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02768/1.83, allocations: 5.494 MB / 0.7335 GB, free: 153.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006059/1.836, allocations: 2.118 MB / 0.7356 GB, free: 153.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02826/1.864, allocations: 9.942 MB / 0.7453 GB, free: 149.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/1.865, allocations: 55.97 kB / 0.7453 GB, free: 149.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 8.196e-06/1.865, allocations: 0 / 0.7453 GB, free: 149.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.06991/1.934, allocations: 14.04 MB / 0.759 GB, free: 143.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.935, allocations: 149.1 kB / 0.7592 GB, free: 143.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02227/1.957, allocations: 6.293 MB / 0.7653 GB, free: 140.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004267/1.957, allocations: 59.42 kB / 0.7654 GB, free: 140.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.01278/1.97, allocations: 5.081 MB / 0.7703 GB, free: 136.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.971, allocations: 0.8146 MB / 0.7711 GB, free: 135.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003411/1.975, allocations: 1.674 MB / 0.7728 GB, free: 134.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/1.975, allocations: 312.6 kB / 0.7731 GB, free: 134.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009502/1.985, allocations: 2.324 MB / 0.7753 GB, free: 133.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01473/1.999, allocations: 7.678 MB / 0.7828 GB, free: 123.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/2.018, allocations: 10.86 MB / 0.7934 GB, free: 110.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001864/2.018, allocations: 56 kB / 0.7935 GB, free: 110.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.02632/2.045, allocations: 9.66 MB / 0.8029 GB, free: 101.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/2.045, allocations: 88 kB / 0.803 GB, free: 101 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002872/2.045, allocations: 188 kB / 0.8032 GB, free: 100.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/2.046, allocations: 252 kB / 0.8034 GB, free: 100.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/2.056, allocations: 1.923 MB / 0.8053 GB, free: 98.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003371/2.056, allocations: 370.5 kB / 0.8057 GB, free: 98.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.067, allocations: 415.1 kB / 0.8061 GB, free: 97.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/2.068, allocations: 0.5117 MB / 0.8066 GB, free: 97.34 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.01579/2.084, allocations: 3.299 MB / 0.8098 GB, free: 94.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/2.086, allocations: 0.5244 MB / 0.8103 GB, free: 93.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/2.087, allocations: 0.6162 MB / 0.8109 GB, free: 92.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/2.088, allocations: 24 kB / 0.8109 GB, free: 92.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/2.088, allocations: 0 / 0.8109 GB, free: 92.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/2.088, allocations: 16.47 kB / 0.8109 GB, free: 92.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05645/2.144, allocations: 16.44 MB / 0.827 GB, free: 75.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.286e-05/2.144, allocations: 36 kB / 0.827 GB, free: 75.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/2.146, allocations: 387.2 kB / 0.8274 GB, free: 75.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.705e-05/2.146, allocations: 51.94 kB / 0.8274 GB, free: 75.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/2.147, allocations: 87.98 kB / 0.8275 GB, free: 75.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.838e-05/2.147, allocations: 71.72 kB / 0.8276 GB, free: 75.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.285e-05/2.147, allocations: 63.66 kB / 0.8277 GB, free: 75.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009995/2.157, allocations: 3.945 MB / 0.8315 GB, free: 70.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.159, allocations: 0.6034 MB / 0.8321 GB, free: 70.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/2.16, allocations: 91.91 kB / 0.8322 GB, free: 69.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008358/2.169, allocations: 107.9 kB / 0.8323 GB, free: 69.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006615/2.169, allocations: 258.8 kB / 0.8325 GB, free: 69.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/2.17, allocations: 104 kB / 0.8326 GB, free: 69.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01436/2.184, allocations: 3.935 MB / 0.8365 GB, free: 65.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.543e-06/2.184, allocations: 0 / 0.8365 GB, free: 65.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01275/2.197, allocations: 1.311 MB / 0.8378 GB, free: 64.25 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.0008844/2.198, allocations: 250.4 kB / 0.838 GB, free: 64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01272/2.211, allocations: 5.508 MB / 0.8434 GB, free: 58.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.28e-05/2.211, allocations: 4 kB / 0.8434 GB, free: 58.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/2.213, allocations: 1.137 MB / 0.8445 GB, free: 57.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009531/2.223, allocations: 0.8532 MB / 0.8453 GB, free: 56.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05393/2.277, allocations: 19.05 MB / 0.8639 GB, free: 36.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01642/2.293, allocations: 5.048 MB / 0.8689 GB, free: 31.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006248/2.3, allocations: 419.4 kB / 0.8693 GB, free: 31.49 MB / 0.545 GB Notification: Performance of SimCode: time 1.974e-06/2.3, allocations: 0 / 0.8693 GB, free: 31.49 MB / 0.545 GB Notification: Performance of Templates: time 0.7366/3.036, allocations: 83.96 MB / 0.9513 GB, free: 216 MB / 0.5919 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