Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.5 MB / 243.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007311/0.0007309, allocations: 97.14 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3396/0.3396, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 62.96 MB / 0.5159 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.07083/0.3604, allocations: 90.24 MB / 0.604 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0451/0.4055, allocations: 18.12 MB / 0.6217 GB, free: 12.83 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.019/0.4246, allocations: 446.9 kB / 0.6221 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01513/0.4398, allocations: 4.86 MB / 0.6269 GB, free: 7.512 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03589/0.4757, allocations: 14.17 MB / 0.6407 GB, free: 9.281 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.4819, allocations: 1.322 MB / 0.642 GB, free: 7.957 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.4931, allocations: 9.244 MB / 0.651 GB, free: 14.7 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01399/0.5071, allocations: 10.04 MB / 0.6608 GB, free: 4.543 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.5118, allocations: 2.452 MB / 0.6632 GB, free: 2.082 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005089/0.5169, allocations: 3.521 MB / 0.6667 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.5183, allocations: 252 kB / 0.6669 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.5214, allocations: 1.127 MB / 0.668 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003694/0.5251, allocations: 3.148 MB / 0.6711 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004543/0.5297, allocations: 3.318 MB / 0.6743 GB, free: 6.676 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2637/0.7934, allocations: 9.264 MB / 0.6834 GB, free: 22.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7934, allocations: 0 / 0.6834 GB, free: 22.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7934, allocations: 0 / 0.6834 GB, free: 22.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004531/0.7939, allocations: 0.8125 kB / 0.6834 GB, free: 22.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01528/0.8092, allocations: 7.182 MB / 0.6904 GB, free: 19.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8092, allocations: 12.34 kB / 0.6904 GB, free: 19.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.8201, allocations: 2.646 MB / 0.693 GB, free: 18.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009138/0.8293, allocations: 4.485 MB / 0.6974 GB, free: 18.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000469/0.8298, allocations: 436.5 kB / 0.6978 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.8323, allocations: 0.5605 MB / 0.6983 GB, free: 18.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03459/0.8669, allocations: 17.44 MB / 0.7153 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002343/0.8672, allocations: 71.17 kB / 0.7154 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.8684, allocations: 262.6 kB / 0.7157 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004008/0.8724, allocations: 3.179 MB / 0.7188 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/0.899, allocations: 13.38 MB / 0.7318 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08072/0.9798, allocations: 66 MB / 0.7963 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/0.9949, allocations: 5.487 MB / 0.8016 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.9982, allocations: 2.117 MB / 0.8037 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01725/1.015, allocations: 10.01 MB / 0.8135 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.016, allocations: 51.5 kB / 0.8135 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=182): time 5.881e-06/1.016, allocations: 0 / 0.8135 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=206): time 0.0407/1.056, allocations: 14.3 MB / 0.8275 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.056, allocations: 156.7 kB / 0.8277 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009367/1.066, allocations: 6.342 MB / 0.8338 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003751/1.066, allocations: 56.64 kB / 0.8339 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00385/1.07, allocations: 5.233 MB / 0.839 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.071, allocations: 0.8294 MB / 0.8398 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/1.072, allocations: 161.2 kB / 0.84 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005057/1.072, allocations: 0.6747 MB / 0.8406 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/1.076, allocations: 2.315 MB / 0.8429 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007611/1.084, allocations: 7.737 MB / 0.8505 GB, free: 10.05 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/1.096, allocations: 10.96 MB / 0.8612 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002322/1.096, allocations: 52 kB / 0.8612 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01906/1.115, allocations: 9.672 MB / 0.8706 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/1.115, allocations: 94.64 kB / 0.8707 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002776/1.116, allocations: 196.1 kB / 0.8709 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/1.116, allocations: 252 kB / 0.8712 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006221/1.122, allocations: 1.946 MB / 0.8731 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002974/1.123, allocations: 373 kB / 0.8734 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005966/1.129, allocations: 415.5 kB / 0.8738 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.13, allocations: 0.5181 MB / 0.8743 GB, free: 3.066 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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 (1055): * Single equations (assignments): 1044 * 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.005944/1.136, allocations: 3.417 MB / 0.8777 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.137, allocations: 0.5282 MB / 0.8782 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.138, allocations: 0.6248 MB / 0.8788 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.138, allocations: 24 kB / 0.8788 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.138, allocations: 2.188 kB / 0.8788 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/1.138, allocations: 7.969 kB / 0.8788 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02478/1.163, allocations: 16.72 MB / 0.8951 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.112e-05/1.163, allocations: 40 kB / 0.8952 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.164, allocations: 382.4 kB / 0.8955 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.16e-05/1.164, allocations: 51.94 kB / 0.8956 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/1.164, allocations: 87.98 kB / 0.8957 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.407e-05/1.164, allocations: 73.44 kB / 0.8958 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.114e-05/1.164, allocations: 60.78 kB / 0.8958 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/1.169, allocations: 3.938 MB / 0.8997 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.17, allocations: 0.6111 MB / 0.9003 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/1.171, allocations: 95.91 kB / 0.9003 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.173, allocations: 106.8 kB / 0.9004 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/1.173, allocations: 261.1 kB / 0.9007 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.173, allocations: 112 kB / 0.9008 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.006359/1.179, allocations: 3.941 MB / 0.9046 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.82e-07/1.179, allocations: 4 kB / 0.9047 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007281/1.187, allocations: 1.37 MB / 0.906 GB, free: 2.062 MB / 0.6198 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 (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.0005694/1.187, allocations: 246.5 kB / 0.9062 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.2128/1.4, allocations: 5.334 MB / 0.9114 GB, free: 260 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.383e-05/1.4, allocations: 7.875 kB / 0.9114 GB, free: 260 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.402, allocations: 1.137 MB / 0.9126 GB, free: 259.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03471/1.436, allocations: 0.8534 MB / 0.9134 GB, free: 259.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/1.462, allocations: 18.92 MB / 0.9319 GB, free: 249.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009796/1.472, allocations: 5.227 MB / 0.937 GB, free: 247.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.473, allocations: 410.9 kB / 0.9374 GB, free: 247.7 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/1.473, allocations: 0 / 0.9374 GB, free: 247.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.1085/1.582, allocations: 85.34 MB / 1.021 GB, free: 175.2 MB / 0.6198 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches