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.001801/0.001801, allocations: 114.3 kB / 17.08 MB, free: 6.02 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.002025/0.002025, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.414/1.414, allocations: 205.1 MB / 223.9 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.2134/0.2134, allocations: 43.53 MB / 314.8 MB, free: 472 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.001614/0.001614, allocations: 68.3 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1087, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0183/0.1271, allocations: 17.04 MB / 0.5052 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1391, allocations: 5.319 MB / 0.5104 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.1424, allocations: 127.7 kB / 0.5105 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.154, allocations: 6.067 MB / 0.5164 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008575/0.1627, allocations: 3.081 MB / 0.5194 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.1667, allocations: 1.575 MB / 0.521 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01227/0.179, allocations: 8.201 MB / 0.529 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2343/0.4133, allocations: 7.63 MB / 0.5364 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006411/0.4198, allocations: 3.181 MB / 0.5395 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007801/0.4276, allocations: 4.215 MB / 0.5436 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003525/0.4312, allocations: 0.6451 MB / 0.5443 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.4371, allocations: 1.463 MB / 0.5457 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007334/0.4445, allocations: 3.916 MB / 0.5495 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009334/0.4539, allocations: 4.288 MB / 0.5537 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.4711, allocations: 13.09 MB / 0.5665 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4711, allocations: 3.938 kB / 0.5665 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4711, allocations: 0 / 0.5665 GB, free: 14.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005174/0.4716, allocations: 0 / 0.5665 GB, free: 14.84 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02366/0.4953, allocations: 9.247 MB / 0.5755 GB, free: 8.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4954, allocations: 14.58 kB / 0.5755 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.5073, allocations: 2.669 MB / 0.5782 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.5186, allocations: 5.059 MB / 0.5831 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/0.5191, allocations: 468.5 kB / 0.5835 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/0.5217, allocations: 0.5955 MB / 0.5841 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03971/0.5615, allocations: 18.73 MB / 0.6024 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003483/0.5618, allocations: 73.38 kB / 0.6025 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/0.5641, allocations: 289.1 kB / 0.6028 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00563/0.5697, allocations: 3.445 MB / 0.6061 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/0.6021, allocations: 14.61 MB / 0.6204 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/0.705, allocations: 70.19 MB / 0.6889 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/0.7229, allocations: 6.127 MB / 0.6949 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004379/0.7273, allocations: 2.452 MB / 0.6973 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02255/0.7499, allocations: 10.83 MB / 0.7079 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.75, allocations: 59.66 kB / 0.7079 GB, free: 2.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 5.059e-06/0.75, allocations: 0 / 0.7079 GB, free: 2.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.04435/0.7943, allocations: 15.86 MB / 0.7234 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.7945, allocations: 161.1 kB / 0.7236 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/0.8061, allocations: 6.64 MB / 0.7301 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004181/0.8066, allocations: 68.91 kB / 0.7301 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004113/0.8107, allocations: 5.529 MB / 0.7355 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.8119, allocations: 1.014 MB / 0.7365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00405/0.816, allocations: 1.839 MB / 0.7383 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.8161, allocations: 301.1 kB / 0.7386 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/0.8205, allocations: 2.657 MB / 0.7412 GB, free: 348 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00854/0.829, allocations: 8.376 MB / 0.7494 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2431/1.072, allocations: 11.99 MB / 0.7611 GB, free: 185 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001951/1.072, allocations: 60.22 kB / 0.7611 GB, free: 185 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02216/1.095, allocations: 10.72 MB / 0.7716 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.095, allocations: 96.97 kB / 0.7717 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003562/1.095, allocations: 202 kB / 0.7719 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/1.096, allocations: 266.8 kB / 0.7721 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007526/1.103, allocations: 2.139 MB / 0.7742 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004867/1.104, allocations: 401.3 kB / 0.7746 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007695/1.111, allocations: 453.4 kB / 0.7751 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002165/1.113, allocations: 0.558 MB / 0.7756 GB, free: 182.1 MB / 0.5919 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.00776/1.121, allocations: 3.62 MB / 0.7791 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.122, allocations: 0.5769 MB / 0.7797 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/1.127, allocations: 2.793 MB / 0.7824 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/1.127, allocations: 28.61 kB / 0.7825 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.127, allocations: 3.938 kB / 0.7825 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/1.127, allocations: 11.02 kB / 0.7825 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03408/1.161, allocations: 26.56 MB / 0.8084 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.162e-05/1.162, allocations: 59.5 kB / 0.8085 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.163, allocations: 0.5176 MB / 0.809 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.696e-05/1.163, allocations: 68 kB / 0.809 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/1.164, allocations: 115.8 kB / 0.8091 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.123e-05/1.164, allocations: 107.5 kB / 0.8092 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.27e-05/1.164, allocations: 87.62 kB / 0.8093 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004859/1.169, allocations: 5.245 MB / 0.8145 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.17, allocations: 0.6732 MB / 0.8151 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007943/1.171, allocations: 122.9 kB / 0.8152 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/1.173, allocations: 138.2 kB / 0.8154 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/1.174, allocations: 363.3 kB / 0.8157 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/1.174, allocations: 147.7 kB / 0.8158 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006459/1.181, allocations: 4.149 MB / 0.8199 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/1.181, allocations: 0 / 0.8199 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00858/1.189, allocations: 1.51 MB / 0.8214 GB, free: 155.6 MB / 0.5919 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.000791/1.19, allocations: 299.5 kB / 0.8217 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008981/1.199, allocations: 6.284 MB / 0.8278 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.15e-05/1.199, allocations: 10.56 kB / 0.8278 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.201, allocations: 1.493 MB / 0.8293 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006259/1.207, allocations: 0.9362 MB / 0.8302 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.234, allocations: 17.76 MB / 0.8475 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007494/1.242, allocations: 5.56 MB / 0.8529 GB, free: 123.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.243, allocations: 471.4 kB / 0.8534 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.243, allocations: 0 / 0.8534 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1168/1.36, allocations: 96.25 MB / 0.9474 GB, free: 27.07 MB / 0.5919 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 -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