Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001948/0.001948, allocations: 114 kB / 20.43 MB, free: 1.457 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.002376/0.002376, allocations: 215.6 kB / 23.75 MB, free: 4.672 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.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2415/0.2415, allocations: 46.92 MB / 360.8 MB, free: 4.184 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 79.86 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3213, allocations: 66.08 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01205/0.3333, allocations: 9.596 MB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.3394, allocations: 2.955 MB / 0.573 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3406, allocations: 55.81 kB / 0.573 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004041/0.3446, allocations: 2.025 MB / 0.575 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.3477, allocations: 1.136 MB / 0.5761 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.3485, allocations: 283.5 kB / 0.5764 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003518/0.352, allocations: 2.336 MB / 0.5787 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.3545, allocations: 1.738 MB / 0.5804 GB, free: 76 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.3559, allocations: 0.8956 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3578, allocations: 1.25 MB / 0.5825 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005129/0.3583, allocations: 196 kB / 0.5827 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.3598, allocations: 0.7294 MB / 0.5834 GB, free: 13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.3614, allocations: 1.13 MB / 0.5845 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.3636, allocations: 1.312 MB / 0.5858 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005748/0.3694, allocations: 4.326 MB / 0.59 GB, free: 6.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3694, allocations: 0 / 0.59 GB, free: 6.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3694, allocations: 0 / 0.59 GB, free: 6.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001398/0.3695, allocations: 3.938 kB / 0.59 GB, free: 6.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006107/0.3756, allocations: 2.878 MB / 0.5928 GB, free: 3.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3757, allocations: 12.03 kB / 0.5928 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009665/0.3766, allocations: 479.1 kB / 0.5933 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.3819, allocations: 1.578 MB / 0.5948 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.3852, allocations: 1.275 MB / 0.596 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.3854, allocations: 151.7 kB / 0.5962 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004941/0.3859, allocations: 183.9 kB / 0.5964 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.3968, allocations: 6.25 MB / 0.6025 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.887e-05/0.3968, allocations: 11.88 kB / 0.6025 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000367/0.3972, allocations: 87.91 kB / 0.6026 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.3994, allocations: 1.344 MB / 0.6039 GB, free: 7.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.4101, allocations: 5.338 MB / 0.6091 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.4418, allocations: 19.95 MB / 0.6286 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.4464, allocations: 1.556 MB / 0.6301 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.4476, allocations: 0.6328 MB / 0.6307 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007011/0.4546, allocations: 3.031 MB / 0.6337 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.4546, allocations: 39 kB / 0.6337 GB, free: 8.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.448e-06/0.4546, allocations: 0 / 0.6337 GB, free: 8.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005768/0.4604, allocations: 1.986 MB / 0.6357 GB, free: 6.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.4605, allocations: 59.84 kB / 0.6357 GB, free: 6.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.4638, allocations: 1.946 MB / 0.6376 GB, free: 4.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.4639, allocations: 29.7 kB / 0.6376 GB, free: 4.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.4655, allocations: 1.911 MB / 0.6395 GB, free: 2.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/0.4659, allocations: 329.5 kB / 0.6398 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009517/0.4669, allocations: 0.6234 MB / 0.6404 GB, free: 1.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.4671, allocations: 361.9 kB / 0.6408 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.4686, allocations: 0.8842 MB / 0.6416 GB, free: 216 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/0.4723, allocations: 2.747 MB / 0.6443 GB, free: 12.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/0.4777, allocations: 3.968 MB / 0.6482 GB, free: 7.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.949e-05/0.4777, allocations: 20 kB / 0.6482 GB, free: 7.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006821/0.4845, allocations: 3.535 MB / 0.6517 GB, free: 4.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.4846, allocations: 36 kB / 0.6517 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/0.4847, allocations: 64 kB / 0.6518 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.4849, allocations: 88.78 kB / 0.6518 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.4871, allocations: 0.6511 MB / 0.6525 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001503/0.4872, allocations: 139.4 kB / 0.6526 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.4893, allocations: 424.9 kB / 0.653 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/0.4897, allocations: 183.9 kB / 0.6532 GB, free: 2.508 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.002347/0.492, allocations: 1.35 MB / 0.6545 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.4923, allocations: 170.8 kB / 0.6547 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.4928, allocations: 196.9 kB / 0.6549 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/0.4928, allocations: 8 kB / 0.6549 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4928, allocations: 3.938 kB / 0.6549 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4928, allocations: 3.984 kB / 0.6549 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008587/0.5014, allocations: 4.037 MB / 0.6588 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5014, allocations: 8 kB / 0.6588 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.5019, allocations: 99.81 kB / 0.6589 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.5019, allocations: 8 kB / 0.6589 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.5019, allocations: 23.94 kB / 0.659 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.502, allocations: 15.92 kB / 0.659 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.502, allocations: 11.98 kB / 0.659 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.5037, allocations: 1.243 MB / 0.6602 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.5042, allocations: 182.6 kB / 0.6604 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.5045, allocations: 19.94 kB / 0.6604 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.5052, allocations: 31.97 kB / 0.6604 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5053, allocations: 47.81 kB / 0.6605 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.5054, allocations: 28 kB / 0.6605 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002518/0.5079, allocations: 1.275 MB / 0.6617 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5079, allocations: 0 / 0.6617 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002968/0.5109, allocations: 0.6851 MB / 0.6624 GB, free: 8.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002447/0.5133, allocations: 1.853 MB / 0.6642 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003471/0.5168, allocations: 1.97 MB / 0.6661 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5168, allocations: 1.875 kB / 0.6661 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.5174, allocations: 437.2 kB / 0.6666 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.5188, allocations: 230.2 kB / 0.6668 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03508/0.5539, allocations: 20.88 MB / 0.6872 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/0.5572, allocations: 2.271 MB / 0.6894 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002419/0.5596, allocations: 0.9519 MB / 0.6903 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/0.5612, allocations: 1.03 MB / 0.6913 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of SimCode: time 1.874e-06/0.5612, allocations: 0 / 0.6913 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08237/0.6436, allocations: 35.23 MB / 0.7257 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.76, allocations: 6.875 kB / 0.7257 GB, free: 5.484 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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: 19.2401930259075]