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.001493/0.001493, allocations: 118.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2979, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01416/0.3121, allocations: 14.99 MB / 0.5452 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009592/0.3217, allocations: 5.045 MB / 0.5501 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.324, allocations: 120.2 kB / 0.5502 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.3342, allocations: 5.954 MB / 0.556 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006602/0.3409, allocations: 2.743 MB / 0.5587 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.3443, allocations: 1.575 MB / 0.5602 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009948/0.3542, allocations: 7.782 MB / 0.5678 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0089/0.3632, allocations: 7.376 MB / 0.575 GB, free: 4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.3674, allocations: 2.945 MB / 0.5779 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005064/0.3725, allocations: 3.793 MB / 0.5816 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00163/0.3742, allocations: 0.5703 MB / 0.5822 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.3774, allocations: 1.401 MB / 0.5835 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003981/0.3814, allocations: 3.53 MB / 0.587 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005492/0.3869, allocations: 3.845 MB / 0.5907 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.3998, allocations: 11.62 MB / 0.6021 GB, free: 8.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3998, allocations: 0 / 0.6021 GB, free: 8.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3998, allocations: 0 / 0.6021 GB, free: 8.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003928/0.4002, allocations: 0 / 0.6021 GB, free: 8.195 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.01771/0.4179, allocations: 8.502 MB / 0.6104 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.418, allocations: 8.031 kB / 0.6104 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002789/0.4208, allocations: 1.17 MB / 0.6115 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4312, allocations: 2.522 MB / 0.614 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.4414, allocations: 5.398 MB / 0.6193 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.4417, allocations: 430.6 kB / 0.6197 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.4432, allocations: 0.5387 MB / 0.6202 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/0.4708, allocations: 16.68 MB / 0.6365 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.471, allocations: 75.34 kB / 0.6366 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000934/0.4719, allocations: 263.8 kB / 0.6368 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004131/0.4761, allocations: 2.935 MB / 0.6397 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.5007, allocations: 12.78 MB / 0.6522 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07246/0.5732, allocations: 63.97 MB / 0.7146 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4006/0.9738, allocations: 5.49 MB / 0.72 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.9764, allocations: 2.123 MB / 0.7221 GB, free: 159.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.9896, allocations: 9.924 MB / 0.7318 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.9897, allocations: 55.36 kB / 0.7318 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 3.547e-06/0.9897, allocations: 0 / 0.7318 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03156/1.021, allocations: 14.06 MB / 0.7456 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.021, allocations: 156.1 kB / 0.7457 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/1.027, allocations: 6.319 MB / 0.7519 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/1.028, allocations: 57.7 kB / 0.7519 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/1.029, allocations: 5.086 MB / 0.7569 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/1.03, allocations: 0.8125 MB / 0.7577 GB, free: 137.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/1.031, allocations: 1.661 MB / 0.7593 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/1.031, allocations: 301.1 kB / 0.7596 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.034, allocations: 2.299 MB / 0.7618 GB, free: 133 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/1.038, allocations: 7.635 MB / 0.7693 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00711/1.045, allocations: 10.81 MB / 0.7799 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.568e-05/1.045, allocations: 52 kB / 0.7799 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01104/1.056, allocations: 9.575 MB / 0.7893 GB, free: 99.76 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/1.056, allocations: 88 kB / 0.7893 GB, free: 99.67 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/1.056, allocations: 188 kB / 0.7895 GB, free: 99.49 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/1.056, allocations: 251.9 kB / 0.7898 GB, free: 99.24 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004564/1.061, allocations: 1.907 MB / 0.7916 GB, free: 97.33 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001618/1.061, allocations: 370.5 kB / 0.792 GB, free: 96.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.066, allocations: 411.1 kB / 0.7924 GB, free: 96.57 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/1.066, allocations: 0.5112 MB / 0.7929 GB, free: 96.06 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 (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.003462/1.07, allocations: 3.285 MB / 0.7961 GB, free: 92.76 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/1.07, allocations: 0.5244 MB / 0.7966 GB, free: 92.23 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007906/1.071, allocations: 0.6282 MB / 0.7972 GB, free: 91.59 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.071, allocations: 20 kB / 0.7972 GB, free: 91.57 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.071, allocations: 7.938 kB / 0.7972 GB, free: 91.57 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.071, allocations: 11.97 kB / 0.7972 GB, free: 91.55 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.088, allocations: 16.46 MB / 0.8133 GB, free: 74.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/1.088, allocations: 43.48 kB / 0.8134 GB, free: 74.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.089, allocations: 379.3 kB / 0.8137 GB, free: 74.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.294e-05/1.089, allocations: 52 kB / 0.8138 GB, free: 74.07 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.089, allocations: 83.98 kB / 0.8138 GB, free: 73.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-05/1.089, allocations: 75.72 kB / 0.8139 GB, free: 73.92 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/1.09, allocations: 60.28 kB / 0.814 GB, free: 73.86 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/1.093, allocations: 3.946 MB / 0.8178 GB, free: 69.35 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/1.094, allocations: 0.6034 MB / 0.8184 GB, free: 68.72 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004972/1.094, allocations: 88.16 kB / 0.8185 GB, free: 68.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.096, allocations: 103.8 kB / 0.8186 GB, free: 68.54 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.096, allocations: 258.8 kB / 0.8188 GB, free: 68.29 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.096, allocations: 115.9 kB / 0.819 GB, free: 68.17 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004467/1.1, allocations: 3.952 MB / 0.8228 GB, free: 64.23 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.9e-07/1.1, allocations: 0 / 0.8228 GB, free: 64.23 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005516/1.106, allocations: 1.298 MB / 0.8241 GB, free: 62.94 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.003158/1.109, allocations: 4.652 MB / 0.8286 GB, free: 57.73 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006141/1.115, allocations: 5.378 MB / 0.8339 GB, free: 52.43 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/1.115, allocations: 9.875 kB / 0.8339 GB, free: 52.42 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.116, allocations: 1.128 MB / 0.835 GB, free: 51.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/1.121, allocations: 0.8615 MB / 0.8358 GB, free: 50.45 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07402/1.195, allocations: 64.88 MB / 0.8992 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00786/1.203, allocations: 5.056 MB / 0.9041 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005902/1.208, allocations: 2.518 MB / 0.9066 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004329/1.213, allocations: 3.279 MB / 0.9098 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.213, allocations: 3.938 kB / 0.9098 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3485/1.561, allocations: 92.82 MB / 1 GB, free: 191.4 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.99/33.55, allocations: 6.672 kB / 1 GB, free: 191.4 MB / 0.6388 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