Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009933/0.0009933, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 226.5 MB / 243.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007974/0.0007972, allocations: 97.64 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2746/0.2746, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002732, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2696, allocations: 62.97 MB / 0.516 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.06599/0.3356, allocations: 90.24 MB / 0.6041 GB, free: 14.81 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03689/0.3726, allocations: 18.12 MB / 0.6218 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01493/0.3875, allocations: 438.9 kB / 0.6222 GB, free: 12.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01288/0.4004, allocations: 4.868 MB / 0.627 GB, free: 7.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03388/0.4344, allocations: 14.17 MB / 0.6408 GB, free: 9.238 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005747/0.4401, allocations: 1.315 MB / 0.6421 GB, free: 7.922 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.4512, allocations: 9.246 MB / 0.6511 GB, free: 14.66 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01335/0.4645, allocations: 10.03 MB / 0.6609 GB, free: 4.504 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.4686, allocations: 2.449 MB / 0.6633 GB, free: 2.047 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.4734, allocations: 3.525 MB / 0.6667 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.4747, allocations: 256 kB / 0.667 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.4778, allocations: 1.123 MB / 0.6681 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004096/0.4819, allocations: 3.144 MB / 0.6711 GB, free: 9.984 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005086/0.487, allocations: 3.329 MB / 0.6744 GB, free: 6.629 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2411/0.7281, allocations: 9.295 MB / 0.6835 GB, free: 22.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7282, allocations: 0 / 0.6835 GB, free: 22.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.7282, allocations: 0.5625 kB / 0.6835 GB, free: 22.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003646/0.7286, allocations: 0.8438 kB / 0.6835 GB, free: 22.43 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01436/0.7429, allocations: 7.223 MB / 0.6905 GB, free: 19.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.743, allocations: 11.81 kB / 0.6905 GB, free: 19.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003406/0.7464, allocations: 1.216 MB / 0.6917 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.7573, allocations: 2.683 MB / 0.6943 GB, free: 18.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.7674, allocations: 5.378 MB / 0.6996 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/0.7679, allocations: 436.3 kB / 0.7 GB, free: 17.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.7702, allocations: 0.5611 MB / 0.7006 GB, free: 17.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03035/0.8006, allocations: 17.44 MB / 0.7176 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.8008, allocations: 74.25 kB / 0.7177 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008672/0.8017, allocations: 265.2 kB / 0.7179 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003951/0.8056, allocations: 3.175 MB / 0.721 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/0.8298, allocations: 13.39 MB / 0.7341 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07687/0.9067, allocations: 66.01 MB / 0.7985 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.9218, allocations: 5.489 MB / 0.8039 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.9249, allocations: 2.109 MB / 0.806 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01814/0.9431, allocations: 9.992 MB / 0.8157 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.9432, allocations: 60.06 kB / 0.8158 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=182): time 5.27e-06/0.9432, allocations: 1.75 kB / 0.8158 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=206): time 0.0404/0.9836, allocations: 14.32 MB / 0.8298 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.9837, allocations: 149.8 kB / 0.8299 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00971/0.9935, allocations: 6.376 MB / 0.8361 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/0.9939, allocations: 53.89 kB / 0.8362 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003886/0.9978, allocations: 5.25 MB / 0.8413 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.9988, allocations: 0.8223 MB / 0.8421 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006088/0.9995, allocations: 167.4 kB / 0.8423 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005914/1, allocations: 0.6676 MB / 0.8429 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004075/1.004, allocations: 2.282 MB / 0.8452 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007599/1.012, allocations: 7.688 MB / 0.8527 GB, free: 8.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.024, allocations: 10.9 MB / 0.8633 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/1.024, allocations: 56 kB / 0.8634 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01645/1.041, allocations: 9.585 MB / 0.8727 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.041, allocations: 90.25 kB / 0.8728 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/1.041, allocations: 200 kB / 0.873 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/1.041, allocations: 252.8 kB / 0.8732 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/1.047, allocations: 1.924 MB / 0.8751 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002774/1.047, allocations: 374.4 kB / 0.8755 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/1.052, allocations: 421 kB / 0.8759 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007913/1.053, allocations: 0.5234 MB / 0.8764 GB, free: 1.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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 (1039): * Single equations (assignments): 1028 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00528/1.058, allocations: 3.396 MB / 0.8797 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009563/1.059, allocations: 0.5321 MB / 0.8802 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.061, allocations: 0.629 MB / 0.8808 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/1.061, allocations: 28 kB / 0.8809 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.061, allocations: 0 / 0.8809 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.061, allocations: 7.969 kB / 0.8809 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.086, allocations: 16.72 MB / 0.8972 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.273e-05/1.086, allocations: 36 kB / 0.8972 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.088, allocations: 384.8 kB / 0.8976 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-05/1.088, allocations: 54.28 kB / 0.8977 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/1.088, allocations: 87.12 kB / 0.8977 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/1.088, allocations: 72.66 kB / 0.8978 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.843e-05/1.088, allocations: 64.11 kB / 0.8979 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/1.094, allocations: 3.931 MB / 0.9017 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.096, allocations: 0.6227 MB / 0.9023 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007361/1.097, allocations: 87.97 kB / 0.9024 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.099, allocations: 107.9 kB / 0.9025 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/1.099, allocations: 256.4 kB / 0.9028 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.099, allocations: 108 kB / 0.9029 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.006201/1.106, allocations: 3.965 MB / 0.9067 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.51e-07/1.106, allocations: 0 / 0.9067 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00694/1.113, allocations: 1.366 MB / 0.9081 GB, free: 72 kB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2056/1.318, allocations: 4.642 MB / 0.9126 GB, free: 249.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006897/1.325, allocations: 5.288 MB / 0.9178 GB, free: 248.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/1.325, allocations: 5.625 kB / 0.9178 GB, free: 248.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.326, allocations: 1.131 MB / 0.9189 GB, free: 248.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03357/1.36, allocations: 0.8518 MB / 0.9197 GB, free: 248.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08221/1.442, allocations: 56.44 MB / 0.9748 GB, free: 208.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007067/1.449, allocations: 5.233 MB / 0.9799 GB, free: 206.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003782/1.453, allocations: 3.464 MB / 0.9833 GB, free: 203.6 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/1.453, allocations: 0 / 0.9833 GB, free: 203.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.878/11.33, allocations: 116.2 MB / 1.097 GB, free: 89.12 MB / 0.6198 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches