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.001859/0.001859, allocations: 85.53 kB / 21.25 MB, free: 0.543 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.002357/0.002357, allocations: 162.2 kB / 24.5 MB, free: 3.715 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 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.2241/0.2241, allocations: 34.26 MB / 295.4 MB, free: 14.5 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.002428/0.002428, allocations: 79.81 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3194, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0111/0.3305, allocations: 13.04 MB / 0.51 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009232/0.3398, allocations: 4.832 MB / 0.5147 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.342, allocations: 145.3 kB / 0.5149 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00992/0.3519, allocations: 5.805 MB / 0.5205 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007842/0.3598, allocations: 2.828 MB / 0.5233 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.3636, allocations: 1.584 MB / 0.5248 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.3756, allocations: 7.781 MB / 0.5324 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007221/0.3828, allocations: 5.381 MB / 0.5377 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/0.388, allocations: 2.99 MB / 0.5406 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006458/0.3944, allocations: 3.835 MB / 0.5443 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002429/0.3969, allocations: 0.5706 MB / 0.5449 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.4007, allocations: 1.29 MB / 0.5462 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.4038, allocations: 3.619 MB / 0.5497 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005585/0.4094, allocations: 2.866 MB / 0.5525 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.4239, allocations: 11.71 MB / 0.5639 GB, free: 1.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4239, allocations: 0 / 0.5639 GB, free: 1.082 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4239, allocations: 0 / 0.5639 GB, free: 1.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003502/0.4242, allocations: 0 / 0.5639 GB, free: 1.082 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.01877/0.443, allocations: 8.613 MB / 0.5724 GB, free: 8.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4431, allocations: 8.031 kB / 0.5724 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4539, allocations: 2.785 MB / 0.5751 GB, free: 5.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.4654, allocations: 4.447 MB / 0.5794 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000451/0.4658, allocations: 430.5 kB / 0.5798 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.4676, allocations: 0.5349 MB / 0.5804 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03462/0.5022, allocations: 16.83 MB / 0.5968 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/0.5025, allocations: 75.38 kB / 0.5969 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00151/0.504, allocations: 259.8 kB / 0.5971 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004999/0.509, allocations: 2.931 MB / 0.6 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03063/0.5397, allocations: 12.88 MB / 0.6126 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09024/0.6299, allocations: 60.22 MB / 0.6714 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/0.6466, allocations: 5.199 MB / 0.6764 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003384/0.6499, allocations: 2.005 MB / 0.6784 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/0.6676, allocations: 7.695 MB / 0.6859 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.6676, allocations: 51.88 kB / 0.686 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=182): time 5.059e-06/0.6676, allocations: 3.938 kB / 0.686 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=206): time 0.3056/0.9733, allocations: 15.12 MB / 0.7007 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.9733, allocations: 149.4 kB / 0.7009 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007725/0.9811, allocations: 5.984 MB / 0.7067 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.9814, allocations: 52.89 kB / 0.7068 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002871/0.9842, allocations: 5.297 MB / 0.7119 GB, free: 137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007605/0.985, allocations: 0.8602 MB / 0.7128 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/0.9869, allocations: 1.692 MB / 0.7144 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.9869, allocations: 306.8 kB / 0.7147 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/0.9908, allocations: 2.357 MB / 0.717 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/0.9973, allocations: 7.709 MB / 0.7246 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.008, allocations: 10.92 MB / 0.7352 GB, free: 117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003834/1.009, allocations: 58.62 kB / 0.7353 GB, free: 117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01995/1.029, allocations: 9.712 MB / 0.7448 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.029, allocations: 85.53 kB / 0.7448 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/1.029, allocations: 191.4 kB / 0.745 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/1.029, allocations: 251.8 kB / 0.7453 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00624/1.036, allocations: 1.957 MB / 0.7472 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002469/1.036, allocations: 372.9 kB / 0.7475 GB, free: 113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006738/1.043, allocations: 0.4991 MB / 0.748 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.044, allocations: 0.5116 MB / 0.7485 GB, free: 112.8 MB / 0.5762 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.005694/1.049, allocations: 3.283 MB / 0.7517 GB, free: 111.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.05, allocations: 0.5052 MB / 0.7522 GB, free: 111 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.052, allocations: 0.5815 MB / 0.7528 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/1.052, allocations: 25.94 kB / 0.7528 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/1.052, allocations: 0 / 0.7528 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.052, allocations: 11.23 kB / 0.7528 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.071, allocations: 14.42 MB / 0.7669 GB, free: 99.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/1.071, allocations: 36 kB / 0.7669 GB, free: 99.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.072, allocations: 380.9 kB / 0.7673 GB, free: 99.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-05/1.072, allocations: 52 kB / 0.7673 GB, free: 99.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.072, allocations: 88.11 kB / 0.7674 GB, free: 99.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.207e-05/1.072, allocations: 75.34 kB / 0.7675 GB, free: 99.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-05/1.072, allocations: 71.53 kB / 0.7676 GB, free: 99.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/1.076, allocations: 3.902 MB / 0.7714 GB, free: 95.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009822/1.077, allocations: 0.5108 MB / 0.7719 GB, free: 94.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/1.077, allocations: 95.16 kB / 0.772 GB, free: 94.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.079, allocations: 133.5 kB / 0.7721 GB, free: 94.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/1.079, allocations: 272.3 kB / 0.7724 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.079, allocations: 111.9 kB / 0.7725 GB, free: 94.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00447/1.084, allocations: 3.494 MB / 0.7759 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/1.084, allocations: 0 / 0.7759 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007177/1.091, allocations: 1.316 MB / 0.7772 GB, free: 89.42 MB / 0.5762 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.0005087/1.091, allocations: 242.1 kB / 0.7774 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007361/1.099, allocations: 5.247 MB / 0.7825 GB, free: 83.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.953e-05/1.099, allocations: 12.98 kB / 0.7825 GB, free: 83.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.1, allocations: 1.078 MB / 0.7836 GB, free: 82.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/1.104, allocations: 0.744 MB / 0.7843 GB, free: 82.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/1.125, allocations: 14.95 MB / 0.7989 GB, free: 66.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006401/1.132, allocations: 4.576 MB / 0.8034 GB, free: 62.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006319/1.138, allocations: 2.464 MB / 0.8058 GB, free: 59.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/1.139, allocations: 324.5 kB / 0.8061 GB, free: 59.22 MB / 0.5762 GB Notification: Performance of SimCode: time 1.933e-06/1.139, allocations: 0 / 0.8061 GB, free: 59.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.06567/1.205, allocations: 31.4 MB / 0.8368 GB, free: 28.57 MB / 0.5762 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/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.608702315017581]