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.001327/0.001327, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1778/0.1778, allocations: 46.12 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 72.56 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1175, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3525/0.47, allocations: 84.41 MB / 0.5506 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0415/0.5115, allocations: 16.24 MB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01887/0.5304, allocations: 385.7 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.542, allocations: 6.01 MB / 0.5727 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.5502, allocations: 2.589 MB / 0.5752 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.5538, allocations: 1.49 MB / 0.5767 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.5665, allocations: 11.13 MB / 0.5875 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009287/0.5759, allocations: 7.387 MB / 0.5947 GB, free: 1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.5807, allocations: 2.706 MB / 0.5974 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/0.5873, allocations: 4.086 MB / 0.6014 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.5891, allocations: 452 kB / 0.6018 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.5925, allocations: 1.338 MB / 0.6031 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004534/0.5971, allocations: 3.394 MB / 0.6064 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007087/0.6042, allocations: 3.724 MB / 0.6101 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.6185, allocations: 11.15 MB / 0.6209 GB, free: 6.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.6186, allocations: 4 kB / 0.6209 GB, free: 6.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6186, allocations: 0 / 0.6209 GB, free: 6.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004774/0.619, allocations: 0 / 0.6209 GB, free: 6.066 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.02172/0.6408, allocations: 8.491 MB / 0.6292 GB, free: 13.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.6409, allocations: 12.88 kB / 0.6293 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003403/0.6443, allocations: 1.166 MB / 0.6304 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.6552, allocations: 2.522 MB / 0.6329 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.6655, allocations: 5.286 MB / 0.638 GB, free: 4.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.666, allocations: 434.5 kB / 0.6384 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/0.6678, allocations: 0.5387 MB / 0.639 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/0.701, allocations: 16.69 MB / 0.6553 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/0.7014, allocations: 67.41 kB / 0.6553 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/0.703, allocations: 259.8 kB / 0.6556 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004429/0.7074, allocations: 2.931 MB / 0.6584 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02833/0.7358, allocations: 12.79 MB / 0.6709 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4621/1.198, allocations: 64.29 MB / 0.7337 GB, free: 153.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.215, allocations: 5.488 MB / 0.7391 GB, free: 153.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/1.218, allocations: 2.118 MB / 0.7411 GB, free: 153.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/1.232, allocations: 9.927 MB / 0.7508 GB, free: 148.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.232, allocations: 57.78 kB / 0.7509 GB, free: 148.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 4.85e-06/1.232, allocations: 1.031 kB / 0.7509 GB, free: 148.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03482/1.267, allocations: 14.06 MB / 0.7646 GB, free: 142.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.267, allocations: 148.2 kB / 0.7647 GB, free: 142.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007152/1.274, allocations: 6.33 MB / 0.7709 GB, free: 139 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/1.275, allocations: 59.69 kB / 0.771 GB, free: 139 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.277, allocations: 5.08 MB / 0.7759 GB, free: 134.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/1.277, allocations: 0.8194 MB / 0.7767 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/1.279, allocations: 1.65 MB / 0.7784 GB, free: 133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/1.279, allocations: 311.1 kB / 0.7786 GB, free: 132.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/1.282, allocations: 2.293 MB / 0.7809 GB, free: 131.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004249/1.286, allocations: 7.632 MB / 0.7883 GB, free: 121.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/1.295, allocations: 10.82 MB / 0.7989 GB, free: 108.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000195/1.295, allocations: 52 kB / 0.799 GB, free: 108.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01389/1.309, allocations: 9.564 MB / 0.8083 GB, free: 98.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/1.309, allocations: 91.94 kB / 0.8084 GB, free: 98.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/1.309, allocations: 188.2 kB / 0.8086 GB, free: 98.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/1.309, allocations: 253.9 kB / 0.8088 GB, free: 98.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/1.314, allocations: 1.903 MB / 0.8107 GB, free: 96.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000209/1.315, allocations: 370.9 kB / 0.811 GB, free: 95.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/1.32, allocations: 411.5 kB / 0.8114 GB, free: 95.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009217/1.321, allocations: 0.5108 MB / 0.8119 GB, free: 94.99 MB / 0.545 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.0044/1.325, allocations: 3.287 MB / 0.8151 GB, free: 91.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000918/1.326, allocations: 0.5321 MB / 0.8156 GB, free: 91.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.327, allocations: 0.6205 MB / 0.8162 GB, free: 90.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/1.327, allocations: 24 kB / 0.8163 GB, free: 90.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/1.327, allocations: 0 / 0.8163 GB, free: 90.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.327, allocations: 11.95 kB / 0.8163 GB, free: 90.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/1.349, allocations: 16.46 MB / 0.8324 GB, free: 73.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/1.349, allocations: 36 kB / 0.8324 GB, free: 73.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.35, allocations: 387.2 kB / 0.8328 GB, free: 73.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.139e-05/1.35, allocations: 48 kB / 0.8328 GB, free: 73.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.35, allocations: 80 kB / 0.8329 GB, free: 72.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-05/1.35, allocations: 78.47 kB / 0.833 GB, free: 72.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.297e-05/1.35, allocations: 59.75 kB / 0.833 GB, free: 72.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/1.353, allocations: 3.956 MB / 0.8369 GB, free: 68.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.355, allocations: 0.6033 MB / 0.8375 GB, free: 67.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/1.355, allocations: 87.97 kB / 0.8375 GB, free: 67.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.357, allocations: 99.94 kB / 0.8376 GB, free: 67.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.357, allocations: 270.7 kB / 0.8379 GB, free: 67.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.357, allocations: 104 kB / 0.838 GB, free: 67.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005173/1.362, allocations: 3.955 MB / 0.8419 GB, free: 63.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.362, allocations: 0 / 0.8419 GB, free: 63.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006748/1.369, allocations: 1.305 MB / 0.8431 GB, free: 61.87 MB / 0.545 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.003721/1.373, allocations: 4.641 MB / 0.8477 GB, free: 56.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007305/1.38, allocations: 5.286 MB / 0.8528 GB, free: 51.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/1.38, allocations: 4 kB / 0.8528 GB, free: 51.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/1.382, allocations: 1.134 MB / 0.8539 GB, free: 50.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/1.387, allocations: 0.8111 MB / 0.8547 GB, free: 49.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1008/1.487, allocations: 81.44 MB / 0.9343 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.219/1.706, allocations: 5.056 MB / 0.9392 GB, free: 227.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007487/1.714, allocations: 2.52 MB / 0.9417 GB, free: 227.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00429/1.718, allocations: 3.28 MB / 0.9449 GB, free: 226.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.422e-06/1.718, allocations: 0 / 0.9449 GB, free: 226.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.841, allocations: 95.14 MB / 1.038 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.842, allocations: 196.5 kB / 1.038 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.587/6.428, allocations: 3.625 kB / 1.038 GB, free: 153.5 MB / 0.5919 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