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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001913/0.001913, allocations: 111.9 kB / 19.13 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 200.9 kB / 22.07 MB, free: 0.9961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.18 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 72.78 kB / 490.9 MB, free: 28.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1143, allocations: 62.46 MB / 0.5404 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01707/0.1314, allocations: 14.99 MB / 0.555 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.144, allocations: 5.044 MB / 0.5599 GB, free: 260 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.1469, allocations: 119.7 kB / 0.56 GB, free: 140 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.1585, allocations: 5.974 MB / 0.5659 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007754/0.1664, allocations: 2.737 MB / 0.5685 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.1704, allocations: 1.568 MB / 0.5701 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.1827, allocations: 7.803 MB / 0.5777 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.1928, allocations: 7.365 MB / 0.5849 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.1986, allocations: 2.976 MB / 0.5878 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006315/0.205, allocations: 3.778 MB / 0.5915 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.2071, allocations: 0.5703 MB / 0.592 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/0.2112, allocations: 1.385 MB / 0.5934 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00511/0.2163, allocations: 3.452 MB / 0.5968 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006583/0.2229, allocations: 3.837 MB / 0.6005 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2986/0.5216, allocations: 11.64 MB / 0.6119 GB, free: 24.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.5217, allocations: 0.9375 kB / 0.6119 GB, free: 24.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5217, allocations: 0 / 0.6119 GB, free: 24.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008317/0.5226, allocations: 0 / 0.6119 GB, free: 24.18 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.03175/0.5543, allocations: 8.68 MB / 0.6203 GB, free: 20.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5544, allocations: 9.844 kB / 0.6204 GB, free: 20.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.5669, allocations: 2.529 MB / 0.6228 GB, free: 20.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.5789, allocations: 4.526 MB / 0.6272 GB, free: 19.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/0.5796, allocations: 429.5 kB / 0.6277 GB, free: 19.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003343/0.5829, allocations: 0.5405 MB / 0.6282 GB, free: 19.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03833/0.6213, allocations: 16.69 MB / 0.6445 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004094/0.6217, allocations: 72.03 kB / 0.6445 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/0.6248, allocations: 264.3 kB / 0.6448 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004421/0.6292, allocations: 2.926 MB / 0.6477 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02706/0.6563, allocations: 12.78 MB / 0.6601 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/0.7614, allocations: 64.09 MB / 0.7227 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/0.779, allocations: 5.5 MB / 0.7281 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004266/0.7833, allocations: 2.114 MB / 0.7302 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02348/0.8068, allocations: 9.959 MB / 0.7399 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.807, allocations: 55.72 kB / 0.7399 GB, free: 136 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 9.818e-06/0.807, allocations: 0 / 0.7399 GB, free: 136 kB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.04691/0.8539, allocations: 14.43 MB / 0.754 GB, free: 1.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.8541, allocations: 157.2 kB / 0.7542 GB, free: 1.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/0.8689, allocations: 6.304 MB / 0.7603 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/0.8694, allocations: 56.67 kB / 0.7604 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005577/0.875, allocations: 5.278 MB / 0.7656 GB, free: 6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/0.8764, allocations: 0.8449 MB / 0.7664 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005396/0.8818, allocations: 1.693 MB / 0.768 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.882, allocations: 305.1 kB / 0.7683 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005488/0.8875, allocations: 2.324 MB / 0.7706 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/0.8982, allocations: 7.676 MB / 0.7781 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/0.9129, allocations: 10.88 MB / 0.7887 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/0.9132, allocations: 56 kB / 0.7888 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.02147/0.9347, allocations: 9.673 MB / 0.7982 GB, free: 364 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003157/0.935, allocations: 91.94 kB / 0.7983 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003842/0.9354, allocations: 188 kB / 0.7985 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.9359, allocations: 256.1 kB / 0.7987 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006979/0.9429, allocations: 1.918 MB / 0.8006 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/0.9434, allocations: 374.4 kB / 0.801 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/0.9504, allocations: 421.8 kB / 0.8014 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/0.9523, allocations: 0.5177 MB / 0.8019 GB, free: 12.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.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 (1043): * Single equations (assignments): 1032 * 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.007875/0.9602, allocations: 3.287 MB / 0.8051 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/0.9617, allocations: 0.5626 MB / 0.8056 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.9639, allocations: 0.6201 MB / 0.8062 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.745e-05/0.964, allocations: 24 kB / 0.8063 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.964, allocations: 0 / 0.8063 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/0.964, allocations: 7.969 kB / 0.8063 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03331/0.9973, allocations: 16.46 MB / 0.8223 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001208/0.9975, allocations: 37 kB / 0.8224 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.999, allocations: 383.3 kB / 0.8227 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.845e-05/0.9991, allocations: 52 kB / 0.8228 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/0.9995, allocations: 91.92 kB / 0.8229 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.859e-05/0.9995, allocations: 71.72 kB / 0.8229 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.186e-05/0.9996, allocations: 62.25 kB / 0.823 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00582/1.005, allocations: 3.962 MB / 0.8269 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.007, allocations: 0.6377 MB / 0.8275 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/1.009, allocations: 87.97 kB / 0.8276 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/1.012, allocations: 107.9 kB / 0.8277 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/1.013, allocations: 265.1 kB / 0.8279 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/1.013, allocations: 104 kB / 0.828 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.009868/1.023, allocations: 3.927 MB / 0.8319 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.11e-07/1.023, allocations: 0 / 0.8319 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00892/1.032, allocations: 1.315 MB / 0.8331 GB, free: 11.45 MB / 0.6387 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.0008433/1.033, allocations: 260.7 kB / 0.8334 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.043, allocations: 5.424 MB / 0.8387 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-05/1.043, allocations: 11.98 kB / 0.8387 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.045, allocations: 1.13 MB / 0.8398 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007961/1.053, allocations: 0.8516 MB / 0.8406 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3126/1.366, allocations: 15.71 MB / 0.856 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01292/1.379, allocations: 5.042 MB / 0.8609 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/1.381, allocations: 415.6 kB / 0.8613 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.381, allocations: 0 / 0.8613 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.118/1.499, allocations: 84.91 MB / 0.9442 GB, free: 148.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.2037412020145]