Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108.3 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2032/0.2032, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.92 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09089, allocations: 57.8 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01538/0.1063, allocations: 17.02 MB / 459 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.117, allocations: 5.331 MB / 464.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.1199, allocations: 127.7 kB / 464.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.1309, allocations: 6.071 MB / 470.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008569/0.1395, allocations: 3.07 MB / 473.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.1434, allocations: 1.579 MB / 475.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01154/0.155, allocations: 8.192 MB / 483.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009303/0.1643, allocations: 7.631 MB / 491 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005757/0.1701, allocations: 3.225 MB / 494.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005977/0.1761, allocations: 4.198 MB / 498.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.1782, allocations: 0.6406 MB / 499 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.1821, allocations: 1.455 MB / 0.4888 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.1868, allocations: 3.846 MB / 0.4925 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006243/0.1931, allocations: 4.292 MB / 0.4967 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.2069, allocations: 13.07 MB / 0.5095 GB, free: 6.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.2069, allocations: 0 / 0.5095 GB, free: 6.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.2069, allocations: 0 / 0.5095 GB, free: 6.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004578/0.2074, allocations: 3.938 kB / 0.5095 GB, free: 6.062 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02075/0.2282, allocations: 9.248 MB / 0.5185 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.2282, allocations: 15.89 kB / 0.5185 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.2394, allocations: 2.657 MB / 0.5211 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.2496, allocations: 5.075 MB / 0.5261 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.25, allocations: 471.7 kB / 0.5265 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.2517, allocations: 0.5856 MB / 0.5271 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.364/0.6158, allocations: 18.72 MB / 0.5454 GB, free: 74.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003208/0.6161, allocations: 85.58 kB / 0.5455 GB, free: 74.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/0.6175, allocations: 288.1 kB / 0.5457 GB, free: 74.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004718/0.6222, allocations: 3.444 MB / 0.5491 GB, free: 73.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/0.65, allocations: 14.6 MB / 0.5634 GB, free: 63.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0808/0.7308, allocations: 70.17 MB / 0.6319 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/0.7477, allocations: 6.135 MB / 0.6379 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.7514, allocations: 2.457 MB / 0.6403 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01775/0.7691, allocations: 10.83 MB / 0.6509 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.7692, allocations: 64.48 kB / 0.6509 GB, free: 4.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.521e-06/0.7692, allocations: 4 kB / 0.6509 GB, free: 4.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=262): time 0.04308/0.8123, allocations: 15.85 MB / 0.6664 GB, free: 4.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.8124, allocations: 154.5 kB / 0.6666 GB, free: 4.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008989/0.8214, allocations: 6.628 MB / 0.673 GB, free: 13.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004067/0.8219, allocations: 81.62 kB / 0.6731 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003767/0.8257, allocations: 5.533 MB / 0.6785 GB, free: 8.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.8268, allocations: 1.011 MB / 0.6795 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002296/0.8291, allocations: 1.833 MB / 0.6813 GB, free: 5.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8293, allocations: 301.1 kB / 0.6816 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/0.8333, allocations: 2.657 MB / 0.6842 GB, free: 2.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008408/0.8418, allocations: 8.369 MB / 0.6923 GB, free: 7.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/0.8553, allocations: 12.01 MB / 0.7041 GB, free: 8.387 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/0.8555, allocations: 60 kB / 0.7041 GB, free: 8.328 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02011/0.8756, allocations: 10.72 MB / 0.7146 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.8758, allocations: 95.98 kB / 0.7147 GB, free: 13.51 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002753/0.8761, allocations: 200 kB / 0.7149 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.8763, allocations: 272.1 kB / 0.7151 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/0.8833, allocations: 2.144 MB / 0.7172 GB, free: 10.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003412/0.8837, allocations: 390.5 kB / 0.7176 GB, free: 10.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/0.8908, allocations: 463.5 kB / 0.718 GB, free: 10.07 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/0.8922, allocations: 0.5586 MB / 0.7186 GB, free: 9.508 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1155): * Single equations (assignments): 1144 * 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.006562/0.8988, allocations: 3.629 MB / 0.7221 GB, free: 5.863 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/0.8998, allocations: 0.5707 MB / 0.7227 GB, free: 5.285 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004914/0.9047, allocations: 2.794 MB / 0.7254 GB, free: 2.473 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.9048, allocations: 28 kB / 0.7254 GB, free: 2.445 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9048, allocations: 0 / 0.7254 GB, free: 2.445 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.9048, allocations: 11.95 kB / 0.7255 GB, free: 2.434 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2321/1.137, allocations: 26.56 MB / 0.7514 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.173e-05/1.137, allocations: 53.41 kB / 0.7514 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/1.139, allocations: 0.5213 MB / 0.752 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-05/1.139, allocations: 70.44 kB / 0.752 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/1.139, allocations: 116 kB / 0.7521 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.455e-05/1.139, allocations: 103.8 kB / 0.7522 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.614e-05/1.139, allocations: 82.59 kB / 0.7523 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/1.144, allocations: 5.247 MB / 0.7574 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.145, allocations: 0.6726 MB / 0.7581 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005643/1.146, allocations: 124.1 kB / 0.7582 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.148, allocations: 139.6 kB / 0.7583 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/1.148, allocations: 359.3 kB / 0.7587 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.148, allocations: 150.4 kB / 0.7588 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005346/1.154, allocations: 4.156 MB / 0.7629 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4e-07/1.154, allocations: 0 / 0.7629 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007274/1.161, allocations: 1.504 MB / 0.7644 GB, free: 154.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0006166/1.162, allocations: 300.7 kB / 0.7646 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.00789/1.17, allocations: 6.285 MB / 0.7708 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.241e-05/1.17, allocations: 8 kB / 0.7708 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.172, allocations: 1.493 MB / 0.7722 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.177, allocations: 0.9333 MB / 0.7732 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.202, allocations: 16.96 MB / 0.7897 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006419/1.209, allocations: 5.583 MB / 0.7952 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005833/1.215, allocations: 2.776 MB / 0.7979 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/1.215, allocations: 399.4 kB / 0.7983 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of SimCode: time 9.62e-07/1.216, allocations: 0 / 0.7983 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.07395/1.289, allocations: 40.84 MB / 0.8381 GB, free: 83.68 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches