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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007471, allocations: 98.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000907/0.0009071, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002527, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.291/0.4106, allocations: 82.4 MB / 0.5523 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03649/0.4471, allocations: 16.18 MB / 0.5681 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01545/0.4626, allocations: 385.2 kB / 0.5685 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.4649, allocations: 0.6492 MB / 0.5691 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006713/0.4716, allocations: 2.604 MB / 0.5717 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.4744, allocations: 1.248 MB / 0.5729 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01354/0.4879, allocations: 11.13 MB / 0.5838 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.5028, allocations: 10.34 MB / 0.5938 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.5068, allocations: 2.203 MB / 0.596 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004517/0.5113, allocations: 3.457 MB / 0.5994 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.5125, allocations: 240 kB / 0.5996 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.5153, allocations: 1.135 MB / 0.6007 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.5189, allocations: 3.085 MB / 0.6037 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003863/0.5228, allocations: 3.382 MB / 0.607 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.5343, allocations: 10.78 MB / 0.6176 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5344, allocations: 0 / 0.6176 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5344, allocations: 0 / 0.6176 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003635/0.5348, allocations: 0 / 0.6176 GB, free: 12.72 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.01391/0.5487, allocations: 7.002 MB / 0.6244 GB, free: 5.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5487, allocations: 8.875 kB / 0.6244 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002573/0.5513, allocations: 1.166 MB / 0.6255 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.5617, allocations: 2.572 MB / 0.6281 GB, free: 1.867 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009499/0.5712, allocations: 5.286 MB / 0.6332 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.5716, allocations: 438.5 kB / 0.6336 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.5727, allocations: 0.5426 MB / 0.6342 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.6011, allocations: 16.72 MB / 0.6505 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.6013, allocations: 71.41 kB / 0.6506 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006886/0.602, allocations: 259.8 kB / 0.6508 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004136/0.6061, allocations: 2.935 MB / 0.6537 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02605/0.6322, allocations: 12.83 MB / 0.6662 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4798/1.112, allocations: 64.15 MB / 0.7289 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/1.129, allocations: 5.501 MB / 0.7342 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/1.132, allocations: 2.119 MB / 0.7363 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/1.147, allocations: 9.929 MB / 0.746 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.147, allocations: 65.2 kB / 0.7461 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.949e-06/1.147, allocations: 0 / 0.7461 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03279/1.18, allocations: 14.12 MB / 0.7598 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.18, allocations: 150.8 kB / 0.76 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006905/1.187, allocations: 6.318 MB / 0.7662 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/1.187, allocations: 56.78 kB / 0.7662 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.189, allocations: 5.084 MB / 0.7712 GB, free: 117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006281/1.19, allocations: 0.8181 MB / 0.772 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006696/1.191, allocations: 0.7235 MB / 0.7727 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/1.191, allocations: 305.6 kB / 0.773 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/1.194, allocations: 2.294 MB / 0.7752 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004635/1.199, allocations: 7.637 MB / 0.7827 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/1.207, allocations: 10.82 MB / 0.7932 GB, free: 90.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/1.207, allocations: 56 kB / 0.7933 GB, free: 90.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01348/1.221, allocations: 9.564 MB / 0.8026 GB, free: 80.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/1.221, allocations: 88 kB / 0.8027 GB, free: 80.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.221, allocations: 189.1 kB / 0.8029 GB, free: 80.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/1.221, allocations: 248 kB / 0.8031 GB, free: 80.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/1.226, allocations: 1.91 MB / 0.805 GB, free: 78.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001689/1.226, allocations: 374.5 kB / 0.8054 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/1.231, allocations: 405.6 kB / 0.8057 GB, free: 77.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000447/1.231, allocations: 0.517 MB / 0.8062 GB, free: 77.14 MB / 0.5294 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 (1027): * Single equations (assignments): 1016 * 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.003649/1.235, allocations: 3.279 MB / 0.8094 GB, free: 73.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007248/1.236, allocations: 0.5321 MB / 0.81 GB, free: 73.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.237, allocations: 0.6283 MB / 0.8106 GB, free: 72.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/1.237, allocations: 20.7 kB / 0.8106 GB, free: 72.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.237, allocations: 4 kB / 0.8106 GB, free: 72.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/1.237, allocations: 7.969 kB / 0.8106 GB, free: 72.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.255, allocations: 16.45 MB / 0.8267 GB, free: 55.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/1.255, allocations: 40 kB / 0.8267 GB, free: 55.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.256, allocations: 383.2 kB / 0.8271 GB, free: 55.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-05/1.256, allocations: 52 kB / 0.8271 GB, free: 55.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/1.257, allocations: 80 kB / 0.8272 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.75e-05/1.257, allocations: 71.72 kB / 0.8273 GB, free: 55.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-05/1.257, allocations: 59.75 kB / 0.8273 GB, free: 54.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/1.26, allocations: 3.946 MB / 0.8312 GB, free: 50.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.261, allocations: 0.615 MB / 0.8318 GB, free: 49.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/1.261, allocations: 89.38 kB / 0.8319 GB, free: 49.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.263, allocations: 106.4 kB / 0.832 GB, free: 49.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/1.263, allocations: 270.6 kB / 0.8322 GB, free: 49.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.264, allocations: 108.9 kB / 0.8323 GB, free: 49.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004933/1.268, allocations: 3.952 MB / 0.8362 GB, free: 45.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/1.268, allocations: 0 / 0.8362 GB, free: 45.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00618/1.275, allocations: 1.304 MB / 0.8375 GB, free: 44.04 MB / 0.5294 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.00337/1.278, allocations: 4.65 MB / 0.842 GB, free: 38.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006451/1.285, allocations: 5.28 MB / 0.8472 GB, free: 33.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/1.285, allocations: 5.875 kB / 0.8472 GB, free: 33.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.286, allocations: 1.137 MB / 0.8483 GB, free: 32.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03446/1.32, allocations: 0.829 MB / 0.8491 GB, free: 31.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3188/1.639, allocations: 81.47 MB / 0.9286 GB, free: 205 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/1.647, allocations: 5.064 MB / 0.9336 GB, free: 203.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006201/1.653, allocations: 2.52 MB / 0.9361 GB, free: 203.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002971/1.656, allocations: 3.275 MB / 0.9393 GB, free: 201 MB / 0.5763 GB Notification: Performance of SimCode: time 1.132e-06/1.656, allocations: 0 / 0.9393 GB, free: 201 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.772, allocations: 94.44 MB / 1.031 GB, free: 119.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.773, allocations: 193.3 kB / 1.032 GB, free: 119.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/6.08, allocations: 3.938 kB / 1.032 GB, free: 119.1 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches