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.0013/0.0013, allocations: 118 kB / 18.46 MB, free: 4.613 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.001461/0.001461, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.494/1.494, allocations: 227.4 MB / 251.6 MB, free: 260 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.233/0.233, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.002255/0.002255, allocations: 81.09 kB / 490.2 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1248, allocations: 62.46 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01775/0.1426, allocations: 14.99 MB / 0.5543 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.154, allocations: 5.034 MB / 0.5592 GB, free: 132 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.1566, allocations: 115.7 kB / 0.5594 GB, free: 16 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.1675, allocations: 5.985 MB / 0.5652 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007763/0.1754, allocations: 2.727 MB / 0.5679 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.1792, allocations: 1.579 MB / 0.5694 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01213/0.1914, allocations: 7.791 MB / 0.577 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009339/0.2008, allocations: 7.376 MB / 0.5842 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.2061, allocations: 2.964 MB / 0.5871 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/0.2124, allocations: 3.778 MB / 0.5908 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.2148, allocations: 0.5703 MB / 0.5914 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.2187, allocations: 1.389 MB / 0.5927 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004939/0.2237, allocations: 3.46 MB / 0.5961 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007538/0.2313, allocations: 3.825 MB / 0.5998 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.285/0.5163, allocations: 11.64 MB / 0.6112 GB, free: 23.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5164, allocations: 0 / 0.6112 GB, free: 23.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5164, allocations: 1.281 kB / 0.6112 GB, free: 23.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004403/0.5168, allocations: 3.469 kB / 0.6112 GB, free: 23.73 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.02615/0.543, allocations: 8.672 MB / 0.6197 GB, free: 20.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.543, allocations: 9.438 kB / 0.6197 GB, free: 20.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.5543, allocations: 2.53 MB / 0.6222 GB, free: 19.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.5657, allocations: 4.53 MB / 0.6266 GB, free: 18.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005414/0.5662, allocations: 425.2 kB / 0.627 GB, free: 18.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003245/0.5695, allocations: 0.5415 MB / 0.6275 GB, free: 18.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.6031, allocations: 16.69 MB / 0.6438 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.6034, allocations: 67.8 kB / 0.6439 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002041/0.6054, allocations: 266.9 kB / 0.6441 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003967/0.6094, allocations: 2.924 MB / 0.647 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/0.6367, allocations: 12.79 MB / 0.6595 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09604/0.7328, allocations: 64.1 MB / 0.7221 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/0.7497, allocations: 5.492 MB / 0.7274 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/0.7537, allocations: 2.118 MB / 0.7295 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/0.7745, allocations: 9.949 MB / 0.7392 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.7746, allocations: 55.88 kB / 0.7393 GB, free: 80 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.939e-06/0.7746, allocations: 0 / 0.7393 GB, free: 80 kB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.04158/0.8162, allocations: 14.44 MB / 0.7534 GB, free: 1.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.8164, allocations: 153.4 kB / 0.7535 GB, free: 1.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/0.8275, allocations: 6.305 MB / 0.7597 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.828, allocations: 61.53 kB / 0.7597 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006869/0.8349, allocations: 5.275 MB / 0.7649 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001503/0.8364, allocations: 0.8543 MB / 0.7657 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00369/0.8401, allocations: 1.692 MB / 0.7674 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8403, allocations: 301.1 kB / 0.7677 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/0.8452, allocations: 2.329 MB / 0.7699 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/0.8575, allocations: 7.678 MB / 0.7774 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/0.8731, allocations: 10.88 MB / 0.788 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/0.8733, allocations: 56 kB / 0.7881 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0221/0.8954, allocations: 9.667 MB / 0.7975 GB, free: 272 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.8956, allocations: 91.94 kB / 0.7976 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002817/0.8959, allocations: 188 kB / 0.7978 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.8962, allocations: 252 kB / 0.798 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00698/0.9032, allocations: 1.927 MB / 0.7999 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003894/0.9036, allocations: 374.5 kB / 0.8003 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007381/0.911, allocations: 410.5 kB / 0.8007 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/0.9127, allocations: 0.5141 MB / 0.8012 GB, free: 12.54 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.007973/0.9206, allocations: 3.291 MB / 0.8044 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/0.922, allocations: 0.5587 MB / 0.8049 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.9237, allocations: 0.624 MB / 0.8056 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-05/0.9238, allocations: 20 kB / 0.8056 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.9238, allocations: 4.875 kB / 0.8056 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.9238, allocations: 14.12 kB / 0.8056 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/0.9541, allocations: 16.46 MB / 0.8217 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-05/0.9542, allocations: 42.95 kB / 0.8217 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.9556, allocations: 379.3 kB / 0.8221 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.75e-05/0.9556, allocations: 48 kB / 0.8221 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.9558, allocations: 87.06 kB / 0.8222 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.032e-05/0.9559, allocations: 76.25 kB / 0.8223 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-05/0.9559, allocations: 59.75 kB / 0.8223 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.9614, allocations: 3.969 MB / 0.8262 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/0.9632, allocations: 0.6377 MB / 0.8268 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006979/0.9639, allocations: 87.97 kB / 0.8269 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.9658, allocations: 99.94 kB / 0.827 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/0.9661, allocations: 262.8 kB / 0.8273 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.9663, allocations: 110.6 kB / 0.8274 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00864/0.975, allocations: 3.935 MB / 0.8312 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.2e-07/0.975, allocations: 0 / 0.8312 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009021/0.984, allocations: 1.315 MB / 0.8325 GB, free: 11.36 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.0009451/0.985, allocations: 246.2 kB / 0.8327 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01052/0.9955, allocations: 5.437 MB / 0.838 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.918e-05/0.9956, allocations: 4 kB / 0.838 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.9975, allocations: 1.13 MB / 0.8391 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/1.004, allocations: 0.8525 MB / 0.84 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3318/1.335, allocations: 14.98 MB / 0.8546 GB, free: 222.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009182/1.345, allocations: 5.058 MB / 0.8595 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006541/1.351, allocations: 2.522 MB / 0.862 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/1.352, allocations: 346.7 kB / 0.8623 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.062e-06/1.352, allocations: 1.422 kB / 0.8623 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.07716/1.429, allocations: 38.33 MB / 0.8998 GB, free: 192.9 MB / 0.6387 GB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.664174661971629]