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/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_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/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 107.8 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3614/0.3614, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2818, allocations: 62.01 MB / 0.5151 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.07687/0.3587, allocations: 99.38 MB / 0.6122 GB, free: 5.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04975/0.4085, allocations: 18.96 MB / 0.6307 GB, free: 2.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01976/0.4283, allocations: 446.9 kB / 0.6311 GB, free: 2.453 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.4398, allocations: 6.032 MB / 0.637 GB, free: 12.4 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007768/0.4477, allocations: 2.682 MB / 0.6396 GB, free: 9.711 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.4518, allocations: 1.486 MB / 0.6411 GB, free: 8.223 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.4657, allocations: 11.52 MB / 0.6524 GB, free: 12.68 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.4766, allocations: 7.453 MB / 0.6596 GB, free: 5.141 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.482, allocations: 2.78 MB / 0.6623 GB, free: 2.352 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006586/0.4886, allocations: 4.171 MB / 0.6664 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.4907, allocations: 464 kB / 0.6669 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.4946, allocations: 1.342 MB / 0.6682 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005097/0.4997, allocations: 3.518 MB / 0.6716 GB, free: 8.844 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007887/0.5076, allocations: 3.867 MB / 0.6754 GB, free: 4.953 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2894/0.7971, allocations: 11.57 MB / 0.6867 GB, free: 22.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7971, allocations: 0.7969 kB / 0.6867 GB, free: 22.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.7972, allocations: 0 / 0.6867 GB, free: 22.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005099/0.7977, allocations: 0.7188 kB / 0.6867 GB, free: 22.82 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.02457/0.8222, allocations: 8.725 MB / 0.6952 GB, free: 19.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8223, allocations: 9.562 kB / 0.6952 GB, free: 19.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.8331, allocations: 2.585 MB / 0.6977 GB, free: 19.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.845, allocations: 4.482 MB / 0.7021 GB, free: 18.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005135/0.8456, allocations: 440.3 kB / 0.7025 GB, free: 18.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/0.8485, allocations: 0.5584 MB / 0.7031 GB, free: 18.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03795/0.8865, allocations: 17.44 MB / 0.7201 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.8868, allocations: 68.69 kB / 0.7202 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/0.8886, allocations: 273.5 kB / 0.7204 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005729/0.8943, allocations: 3.169 MB / 0.7235 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02877/0.9231, allocations: 13.42 MB / 0.7366 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0887/1.012, allocations: 66.13 MB / 0.8012 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/1.028, allocations: 5.486 MB / 0.8066 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/1.031, allocations: 2.12 MB / 0.8086 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01833/1.049, allocations: 10 MB / 0.8184 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.049, allocations: 55.86 kB / 0.8185 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=182): time 4.789e-06/1.049, allocations: 0 / 0.8185 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of matching and sorting (n=206): time 0.04025/1.09, allocations: 14.26 MB / 0.8324 GB, free: 9.723 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/1.09, allocations: 150.6 kB / 0.8325 GB, free: 9.551 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009862/1.1, allocations: 6.376 MB / 0.8388 GB, free: 3.184 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004668/1.1, allocations: 59.97 kB / 0.8388 GB, free: 3.121 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003867/1.104, allocations: 5.242 MB / 0.8439 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009709/1.105, allocations: 0.8255 MB / 0.8447 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002089/1.107, allocations: 1.699 MB / 0.8464 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/1.107, allocations: 305.1 kB / 0.8467 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/1.111, allocations: 2.348 MB / 0.849 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00765/1.119, allocations: 7.768 MB / 0.8566 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/1.132, allocations: 10.98 MB / 0.8673 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002571/1.132, allocations: 60 kB / 0.8674 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.0206/1.153, allocations: 9.756 MB / 0.8769 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/1.153, allocations: 88 kB / 0.877 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/1.153, allocations: 192 kB / 0.8772 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/1.154, allocations: 252 kB / 0.8774 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/1.16, allocations: 1.945 MB / 0.8793 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003678/1.161, allocations: 378.5 kB / 0.8797 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007003/1.168, allocations: 417.9 kB / 0.8801 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.169, allocations: 0.5227 MB / 0.8806 GB, free: 5.285 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007327/1.177, allocations: 3.408 MB / 0.8839 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.178, allocations: 0.5321 MB / 0.8844 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.18, allocations: 0.6248 MB / 0.885 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/1.18, allocations: 26.97 kB / 0.885 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/1.18, allocations: 0 / 0.885 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.18, allocations: 11.97 kB / 0.8851 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.326/1.506, allocations: 16.72 MB / 0.9014 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001696/1.506, allocations: 42.11 kB / 0.9014 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.508, allocations: 382.9 kB / 0.9018 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-05/1.508, allocations: 53.59 kB / 0.9018 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.508, allocations: 83.97 kB / 0.9019 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.479e-05/1.508, allocations: 75.83 kB / 0.902 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-05/1.508, allocations: 63.03 kB / 0.9021 GB, free: 269.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/1.516, allocations: 6.492 MB / 0.9084 GB, free: 266.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.518, allocations: 0.6123 MB / 0.909 GB, free: 266.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007011/1.519, allocations: 90.17 kB / 0.9091 GB, free: 266.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.521, allocations: 102.9 kB / 0.9092 GB, free: 266.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/1.521, allocations: 265.4 kB / 0.9094 GB, free: 266.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.521, allocations: 104.5 kB / 0.9095 GB, free: 266.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007995/1.529, allocations: 3.982 MB / 0.9134 GB, free: 265.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/1.529, allocations: 0 / 0.9134 GB, free: 265.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008861/1.538, allocations: 1.369 MB / 0.9147 GB, free: 265.6 MB / 0.6355 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.0007105/1.539, allocations: 250.4 kB / 0.915 GB, free: 265.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009639/1.548, allocations: 5.38 MB / 0.9202 GB, free: 263.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-05/1.548, allocations: 6.828 kB / 0.9202 GB, free: 263.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/1.55, allocations: 1.128 MB / 0.9214 GB, free: 263.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00627/1.557, allocations: 0.8526 MB / 0.9222 GB, free: 263.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03398/1.591, allocations: 20.17 MB / 0.9419 GB, free: 251.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/1.603, allocations: 5.3 MB / 0.9471 GB, free: 249.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.008308/1.611, allocations: 2.546 MB / 0.9495 GB, free: 249.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.613, allocations: 360.4 kB / 0.9499 GB, free: 249.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/1.613, allocations: 0 / 0.9499 GB, free: 249.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.0841/1.697, allocations: 44.1 MB / 0.9929 GB, free: 210.8 MB / 0.6355 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches