Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.001839, allocations: 209.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.368/1.368, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 78.47 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1273, allocations: 62.46 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0298/0.1572, allocations: 30.29 MB / 0.4977 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.1731, allocations: 6.318 MB / 0.5039 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006266/0.1795, allocations: 123.8 kB / 0.504 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2445/0.424, allocations: 1.994 MB / 0.506 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.4272, allocations: 1.045 MB / 0.507 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.4281, allocations: 268.1 kB / 0.5073 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005445/0.4336, allocations: 3.364 MB / 0.5105 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004692/0.4383, allocations: 2.286 MB / 0.5128 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.4409, allocations: 0.7843 MB / 0.5135 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.4436, allocations: 1.222 MB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009893/0.4447, allocations: 147.8 kB / 0.5149 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.4471, allocations: 0.6903 MB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.4489, allocations: 1.08 MB / 0.5166 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.4514, allocations: 1.272 MB / 0.5178 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.4561, allocations: 4.12 MB / 0.5219 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4561, allocations: 0 / 0.5219 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4561, allocations: 3.094 kB / 0.5219 GB, free: 8.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.183e-05/0.4562, allocations: 1.25 kB / 0.5219 GB, free: 8.871 MB / 382.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.005307/0.4616, allocations: 2.865 MB / 0.5247 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.4616, allocations: 9.75 kB / 0.5247 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005669/0.4622, allocations: 478 kB / 0.5251 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.4668, allocations: 1.563 MB / 0.5267 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.4689, allocations: 1.315 MB / 0.5279 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.4691, allocations: 146.9 kB / 0.5281 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.4694, allocations: 189.1 kB / 0.5283 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/0.4774, allocations: 6.246 MB / 0.5344 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.4775, allocations: 10.72 kB / 0.5344 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.4777, allocations: 88.95 kB / 0.5345 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001645/0.4794, allocations: 1.347 MB / 0.5358 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008838/0.4882, allocations: 5.336 MB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02663/0.5149, allocations: 20.13 MB / 0.5606 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.5193, allocations: 2.074 MB / 0.5627 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009998/0.5203, allocations: 0.6939 MB / 0.5633 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00608/0.5264, allocations: 3.493 MB / 0.5668 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.5264, allocations: 39 kB / 0.5668 GB, free: 2.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.237e-06/0.5265, allocations: 0 / 0.5668 GB, free: 2.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005347/0.5318, allocations: 1.976 MB / 0.5687 GB, free: 136 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5319, allocations: 59.78 kB / 0.5688 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.5356, allocations: 1.93 MB / 0.5707 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.5357, allocations: 36.75 kB / 0.5707 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.5373, allocations: 1.845 MB / 0.5725 GB, free: 12.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.5377, allocations: 309.8 kB / 0.5728 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.5387, allocations: 0.6147 MB / 0.5734 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5388, allocations: 361.9 kB / 0.5737 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.5402, allocations: 0.8867 MB / 0.5746 GB, free: 10.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.543, allocations: 2.747 MB / 0.5773 GB, free: 6.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004751/0.5477, allocations: 3.977 MB / 0.5812 GB, free: 1.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-05/0.5478, allocations: 20 kB / 0.5812 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006077/0.5539, allocations: 3.518 MB / 0.5846 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.554, allocations: 32 kB / 0.5847 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/0.5541, allocations: 71.98 kB / 0.5847 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-05/0.5542, allocations: 84 kB / 0.5848 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.5561, allocations: 0.6559 MB / 0.5855 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.5562, allocations: 130.5 kB / 0.5856 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.5583, allocations: 427.5 kB / 0.586 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/0.5587, allocations: 186.1 kB / 0.5862 GB, free: 13.17 MB / 446.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.002511/0.5612, allocations: 1.343 MB / 0.5875 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.5615, allocations: 161.4 kB / 0.5876 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.562, allocations: 192.9 kB / 0.5878 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.562, allocations: 11.44 kB / 0.5878 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.562, allocations: 4 kB / 0.5878 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.562, allocations: 8.172 kB / 0.5878 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008029/0.5701, allocations: 4.067 MB / 0.5918 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.5701, allocations: 11.98 kB / 0.5918 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.5705, allocations: 95.83 kB / 0.5919 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.5705, allocations: 8.75 kB / 0.5919 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.5706, allocations: 23.98 kB / 0.5919 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.5706, allocations: 15.94 kB / 0.592 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.5706, allocations: 7.938 kB / 0.592 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.5721, allocations: 1.235 MB / 0.5932 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.5726, allocations: 246.7 kB / 0.5934 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.5729, allocations: 20 kB / 0.5934 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.5734, allocations: 27.91 kB / 0.5935 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.5736, allocations: 55.83 kB / 0.5935 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.5736, allocations: 31.59 kB / 0.5935 GB, free: 5.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001941/0.5756, allocations: 1.267 MB / 0.5948 GB, free: 4.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5756, allocations: 0 / 0.5948 GB, free: 4.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002748/0.5783, allocations: 0.6843 MB / 0.5954 GB, free: 3.48 MB / 446.1 MB 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.00209/0.5804, allocations: 1.843 MB / 0.5972 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003047/0.5835, allocations: 2.019 MB / 0.5992 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5835, allocations: 4.062 kB / 0.5992 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.5841, allocations: 455.9 kB / 0.5996 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5854, allocations: 229.3 kB / 0.5999 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.6212, allocations: 23.23 MB / 0.6226 GB, free: 4.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.6243, allocations: 2.277 MB / 0.6248 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002216/0.6265, allocations: 0.948 MB / 0.6257 GB, free: 1.438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/0.6281, allocations: 1.034 MB / 0.6267 GB, free: 412 kB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6281, allocations: 0 / 0.6267 GB, free: 412 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.6831, allocations: 31.36 MB / 0.6573 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.6834, allocations: 201.4 kB / 0.6575 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.185, allocations: 3.938 kB / 0.6575 GB, free: 0.9062 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches