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.001447/0.001447, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00178/0.00178, allocations: 213 kB / 23.73 MB, free: 4.164 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.528/1.528, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.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.2414/0.2414, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.002444/0.002444, allocations: 87.81 kB / 0.4966 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3409, allocations: 66.08 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01752/0.3584, allocations: 13.03 MB / 0.5739 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3711, allocations: 4.828 MB / 0.5786 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.3743, allocations: 143.3 kB / 0.5787 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.387, allocations: 5.818 MB / 0.5844 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008917/0.3959, allocations: 2.821 MB / 0.5872 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.4, allocations: 1.568 MB / 0.5887 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.4119, allocations: 7.797 MB / 0.5963 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009357/0.4213, allocations: 5.376 MB / 0.6016 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006248/0.4275, allocations: 2.995 MB / 0.6045 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006648/0.4342, allocations: 3.828 MB / 0.6082 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.4362, allocations: 0.5742 MB / 0.6088 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.4401, allocations: 1.291 MB / 0.6101 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004875/0.4449, allocations: 3.607 MB / 0.6136 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00546/0.4504, allocations: 2.878 MB / 0.6164 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.4664, allocations: 11.72 MB / 0.6278 GB, free: 15.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4664, allocations: 0 / 0.6278 GB, free: 15.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4664, allocations: 0 / 0.6278 GB, free: 15.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004736/0.4669, allocations: 0 / 0.6278 GB, free: 15.38 MB / 478.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.01828/0.4851, allocations: 8.595 MB / 0.6362 GB, free: 6.707 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4852, allocations: 8.031 kB / 0.6362 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009756/0.4949, allocations: 2.535 MB / 0.6387 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.5056, allocations: 4.443 MB / 0.6431 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000478/0.5061, allocations: 426.5 kB / 0.6435 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.5078, allocations: 0.5504 MB / 0.644 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/0.5407, allocations: 16.75 MB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/0.5409, allocations: 71.39 kB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007145/0.5416, allocations: 263.8 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004885/0.5465, allocations: 2.927 MB / 0.6635 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03037/0.5769, allocations: 12.76 MB / 0.676 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6272/1.204, allocations: 60 MB / 0.7346 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/1.22, allocations: 4.888 MB / 0.7394 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/1.223, allocations: 1.998 MB / 0.7413 GB, free: 137.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/1.238, allocations: 7.61 MB / 0.7487 GB, free: 136.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/1.238, allocations: 67.28 kB / 0.7488 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.571e-06/1.238, allocations: 0 / 0.7488 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03673/1.274, allocations: 14.4 MB / 0.7629 GB, free: 130.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.275, allocations: 149.3 kB / 0.763 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006449/1.281, allocations: 5.997 MB / 0.7689 GB, free: 126 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003016/1.281, allocations: 57.45 kB / 0.7689 GB, free: 126 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/1.283, allocations: 5.3 MB / 0.7741 GB, free: 121 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006757/1.284, allocations: 0.851 MB / 0.7749 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/1.286, allocations: 1.691 MB / 0.7766 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/1.286, allocations: 305.1 kB / 0.7769 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/1.289, allocations: 2.324 MB / 0.7791 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/1.293, allocations: 7.683 MB / 0.7866 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00843/1.301, allocations: 10.86 MB / 0.7973 GB, free: 92.25 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.302, allocations: 56 kB / 0.7973 GB, free: 92.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01458/1.316, allocations: 9.639 MB / 0.8067 GB, free: 82.55 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/1.316, allocations: 84 kB / 0.8068 GB, free: 82.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/1.317, allocations: 196.1 kB / 0.807 GB, free: 82.28 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/1.317, allocations: 248 kB / 0.8072 GB, free: 82.04 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/1.323, allocations: 1.93 MB / 0.8091 GB, free: 80.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002586/1.323, allocations: 370.5 kB / 0.8095 GB, free: 79.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006501/1.329, allocations: 411.6 kB / 0.8099 GB, free: 79.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.33, allocations: 0.5155 MB / 0.8104 GB, free: 78.83 MB / 0.5607 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.00558/1.336, allocations: 3.287 MB / 0.8136 GB, free: 75.53 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.337, allocations: 0.5044 MB / 0.8141 GB, free: 75.02 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/1.338, allocations: 0.5801 MB / 0.8146 GB, free: 74.43 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-05/1.339, allocations: 31.73 kB / 0.8147 GB, free: 74.41 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.339, allocations: 0 / 0.8147 GB, free: 74.41 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.339, allocations: 7.969 kB / 0.8147 GB, free: 74.4 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/1.362, allocations: 14.4 MB / 0.8287 GB, free: 59.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001045/1.362, allocations: 36 kB / 0.8288 GB, free: 59.43 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.363, allocations: 383.3 kB / 0.8291 GB, free: 59.06 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.776e-05/1.363, allocations: 52.77 kB / 0.8292 GB, free: 59.01 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/1.363, allocations: 84 kB / 0.8293 GB, free: 58.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.614e-05/1.363, allocations: 75.72 kB / 0.8293 GB, free: 58.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-05/1.363, allocations: 63.69 kB / 0.8294 GB, free: 58.79 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/1.367, allocations: 3.902 MB / 0.8332 GB, free: 54.34 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.369, allocations: 0.5042 MB / 0.8337 GB, free: 53.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.37, allocations: 95.95 kB / 0.8338 GB, free: 53.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.372, allocations: 103.9 kB / 0.8339 GB, free: 53.63 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/1.372, allocations: 266.6 kB / 0.8341 GB, free: 53.37 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.372, allocations: 108 kB / 0.8342 GB, free: 53.27 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004656/1.377, allocations: 3.502 MB / 0.8377 GB, free: 49.79 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.377, allocations: 0 / 0.8377 GB, free: 49.79 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006892/1.384, allocations: 1.304 MB / 0.8389 GB, free: 48.49 MB / 0.5607 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.0004476/1.384, allocations: 245.9 kB / 0.8392 GB, free: 48.25 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007249/1.391, allocations: 5.217 MB / 0.8443 GB, free: 43.07 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.644e-05/1.391, allocations: 8 kB / 0.8443 GB, free: 43.06 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.393, allocations: 1.082 MB / 0.8453 GB, free: 41.99 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/1.398, allocations: 0.7535 MB / 0.8461 GB, free: 41.25 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.421, allocations: 14.94 MB / 0.8607 GB, free: 25.73 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005108/1.426, allocations: 4.576 MB / 0.8651 GB, free: 21.11 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005175/1.431, allocations: 2.464 MB / 0.8675 GB, free: 18.64 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/1.432, allocations: 327.4 kB / 0.8678 GB, free: 18.32 MB / 0.5607 GB Notification: Performance of SimCode: time 1.002e-06/1.432, allocations: 0 / 0.8678 GB, free: 18.32 MB / 0.5607 GB Notification: Performance of Templates: time 0.08176/1.513, allocations: 38.93 MB / 0.9059 GB, free: 12.15 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.998520612716675]