Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009125/0.0009125, allocations: 173.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007716, allocations: 82.36 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3088/0.3088, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12 kB / 432 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 58.85 MB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2343/0.3433, allocations: 91.69 MB / 0.5689 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03944/0.3828, allocations: 18.31 MB / 0.5867 GB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02009/0.4029, allocations: 445 kB / 0.5872 GB, free: 4.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01558/0.4185, allocations: 4.9 MB / 0.5919 GB, free: 2.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03659/0.4551, allocations: 14.39 MB / 0.606 GB, free: 4.191 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.4616, allocations: 1.314 MB / 0.6073 GB, free: 2.879 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.4734, allocations: 9.575 MB / 0.6166 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01319/0.4866, allocations: 10.2 MB / 0.6266 GB, free: 15 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.4913, allocations: 2.6 MB / 0.6291 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005431/0.4968, allocations: 3.864 MB / 0.6329 GB, free: 8.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.4981, allocations: 284 kB / 0.6332 GB, free: 8.242 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.5011, allocations: 1.158 MB / 0.6343 GB, free: 7.082 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003547/0.5046, allocations: 3.374 MB / 0.6376 GB, free: 3.699 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004006/0.5087, allocations: 3.574 MB / 0.6411 GB, free: 100 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.5194, allocations: 10.03 MB / 0.6509 GB, free: 6.047 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.5194, allocations: 0 / 0.6509 GB, free: 6.047 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.5194, allocations: 4 kB / 0.6509 GB, free: 6.043 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004863/0.5199, allocations: 0 / 0.6509 GB, free: 6.043 MB / 474.7 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.01596/0.5359, allocations: 7.58 MB / 0.6583 GB, free: 14.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.536, allocations: 12.03 kB / 0.6583 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.5466, allocations: 2.724 MB / 0.661 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009635/0.5563, allocations: 4.954 MB / 0.6658 GB, free: 6.594 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.5568, allocations: 471.9 kB / 0.6662 GB, free: 6.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.5587, allocations: 0.5894 MB / 0.6668 GB, free: 5.543 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3545/0.9132, allocations: 18.73 MB / 0.6851 GB, free: 131.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.9134, allocations: 76.69 kB / 0.6852 GB, free: 131.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000737/0.9142, allocations: 287.5 kB / 0.6855 GB, free: 131.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004287/0.9185, allocations: 3.451 MB / 0.6888 GB, free: 131 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02609/0.9446, allocations: 14.57 MB / 0.7031 GB, free: 126.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07545/1.02, allocations: 70.45 MB / 0.7719 GB, free: 71.09 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.034, allocations: 6.127 MB / 0.7778 GB, free: 64.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002941/1.037, allocations: 2.441 MB / 0.7802 GB, free: 62.38 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/1.051, allocations: 10.85 MB / 0.7908 GB, free: 51.14 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.051, allocations: 60.5 kB / 0.7909 GB, free: 51.07 MB / 490.8 MB Notification: Performance of pre-optimization done (n=238): time 5.19e-06/1.051, allocations: 0 / 0.7909 GB, free: 51.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=262): time 0.03512/1.086, allocations: 15.89 MB / 0.8064 GB, free: 35.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/1.086, allocations: 154.5 kB / 0.8065 GB, free: 35.03 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007248/1.093, allocations: 6.605 MB / 0.813 GB, free: 28.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004439/1.094, allocations: 64.98 kB / 0.8131 GB, free: 28.37 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/1.097, allocations: 5.528 MB / 0.8185 GB, free: 22.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009151/1.097, allocations: 1.017 MB / 0.8194 GB, free: 21.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/1.098, allocations: 176 kB / 0.8196 GB, free: 21.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003131/1.098, allocations: 0.6988 MB / 0.8203 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/1.102, allocations: 2.622 MB / 0.8229 GB, free: 18.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005869/1.108, allocations: 8.342 MB / 0.831 GB, free: 7.141 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.12, allocations: 11.95 MB / 0.8427 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/1.12, allocations: 56 kB / 0.8427 GB, free: 8.309 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02041/1.14, allocations: 10.65 MB / 0.8531 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/1.14, allocations: 95.94 kB / 0.8532 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/1.141, allocations: 200 kB / 0.8534 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/1.141, allocations: 268 kB / 0.8537 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006982/1.148, allocations: 2.144 MB / 0.8558 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003927/1.149, allocations: 398.5 kB / 0.8561 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/1.155, allocations: 458.5 kB / 0.8566 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.156, allocations: 0.5547 MB / 0.8571 GB, free: 9.562 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007276/1.163, allocations: 3.62 MB / 0.8607 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.165, allocations: 0.5706 MB / 0.8612 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/1.171, allocations: 2.779 MB / 0.8639 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/1.171, allocations: 28.47 kB / 0.864 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.171, allocations: 3.938 kB / 0.864 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/1.171, allocations: 15.95 kB / 0.864 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2626/1.434, allocations: 26.53 MB / 0.8899 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.235e-05/1.434, allocations: 51.19 kB / 0.8899 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.435, allocations: 0.5214 MB / 0.8904 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.667e-05/1.435, allocations: 71.09 kB / 0.8905 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/1.436, allocations: 118.4 kB / 0.8906 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.415e-05/1.436, allocations: 103.2 kB / 0.8907 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.079e-05/1.436, allocations: 81.22 kB / 0.8908 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/1.441, allocations: 5.224 MB / 0.8959 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.442, allocations: 0.6776 MB / 0.8966 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/1.443, allocations: 127 kB / 0.8967 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.445, allocations: 143.7 kB / 0.8968 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/1.445, allocations: 356.4 kB / 0.8972 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.445, allocations: 156.4 kB / 0.8973 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006051/1.451, allocations: 4.113 MB / 0.9013 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.452, allocations: 2.281 kB / 0.9013 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008598/1.46, allocations: 1.509 MB / 0.9028 GB, free: 135.7 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006014/1.461, allocations: 294.1 kB / 0.9031 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.472, allocations: 6.104 MB / 0.909 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.504e-05/1.472, allocations: 7.719 kB / 0.909 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/1.474, allocations: 1.488 MB / 0.9105 GB, free: 133 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05019/1.525, allocations: 0.9136 MB / 0.9114 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03487/1.56, allocations: 20.96 MB / 0.9319 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00975/1.569, allocations: 5.564 MB / 0.9373 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/1.571, allocations: 470.8 kB / 0.9377 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.512e-06/1.571, allocations: 0 / 0.9377 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1174/1.688, allocations: 92.83 MB / 1.028 GB, free: 27.38 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches