Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007015/0.0007015, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007866/0.0007866, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9017/0.9017, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.954e-05, allocations: 6.219 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1735/0.1735, allocations: 8.414 MB / 450.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1764, allocations: 2.781 MB / 453.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.1768, allocations: 56.66 kB / 453.4 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.1784, allocations: 2.029 MB / 455.4 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1795, allocations: 1.173 MB / 456.6 MB, free: 36.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1798, allocations: 315.1 kB / 456.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.181, allocations: 2.379 MB / 459.3 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1821, allocations: 1.735 MB / 461 MB, free: 34.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.1828, allocations: 1.284 MB / 462.3 MB, free: 34.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.1835, allocations: 1.136 MB / 463.5 MB, free: 34.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1836, allocations: 193.9 kB / 463.6 MB, free: 34.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005469/0.1842, allocations: 0.6469 MB / 464.3 MB, free: 33.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.1847, allocations: 1.178 MB / 465.5 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.1851, allocations: 0.7188 MB / 466.2 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.187, allocations: 4.283 MB / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.187, allocations: 3.094 kB / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.187, allocations: 0 / 470.5 MB, free: 31.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.1871, allocations: 0 / 470.5 MB, free: 31.57 MB / 410.7 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.002308/0.1894, allocations: 2.831 MB / 473.3 MB, free: 29.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1894, allocations: 9.156 kB / 473.3 MB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003054/0.1897, allocations: 483.5 kB / 473.8 MB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.1921, allocations: 1.594 MB / 475.4 MB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.1934, allocations: 1.28 MB / 476.7 MB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.1935, allocations: 150.9 kB / 476.8 MB, free: 28.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1937, allocations: 185.3 kB / 477 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/0.1989, allocations: 6.252 MB / 483.2 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.1989, allocations: 17.98 kB / 483.3 MB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.1991, allocations: 87.28 kB / 483.3 MB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/0.2004, allocations: 1.348 MB / 484.7 MB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005836/0.2062, allocations: 5.334 MB / 490 MB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/0.2217, allocations: 19.08 MB / 0.4972 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.2246, allocations: 1.639 MB / 0.4988 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.2253, allocations: 0.6358 MB / 0.4994 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003074/0.2283, allocations: 2.994 MB / 0.5023 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2284, allocations: 42.25 kB / 0.5024 GB, free: 7.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/0.2284, allocations: 2.344 kB / 0.5024 GB, free: 7.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002696/0.2311, allocations: 2.112 MB / 0.5044 GB, free: 5.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.2311, allocations: 55.91 kB / 0.5045 GB, free: 5.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.2324, allocations: 2.05 MB / 0.5065 GB, free: 3.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2324, allocations: 33.7 kB / 0.5065 GB, free: 3.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/0.2329, allocations: 1.903 MB / 0.5084 GB, free: 1.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.233, allocations: 317.6 kB / 0.5087 GB, free: 1.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.2334, allocations: 0.6116 MB / 0.5093 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.2335, allocations: 357.9 kB / 0.5096 GB, free: 280 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.2343, allocations: 0.8882 MB / 0.5105 GB, free: 15.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.236, allocations: 2.744 MB / 0.5132 GB, free: 11.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/0.2388, allocations: 3.975 MB / 0.517 GB, free: 6.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.2388, allocations: 24 kB / 0.5171 GB, free: 6.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003138/0.2419, allocations: 3.531 MB / 0.5205 GB, free: 3.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.242, allocations: 33 kB / 0.5205 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/0.242, allocations: 64 kB / 0.5206 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.648e-05/0.2421, allocations: 92 kB / 0.5207 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2431, allocations: 0.655 MB / 0.5213 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-05/0.2432, allocations: 128.2 kB / 0.5215 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/0.2441, allocations: 436.8 kB / 0.5219 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.2443, allocations: 183.9 kB / 0.5221 GB, free: 1.668 MB / 426.7 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.001296/0.2456, allocations: 1.352 MB / 0.5234 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2457, allocations: 166.8 kB / 0.5235 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.2459, allocations: 196.9 kB / 0.5237 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2459, allocations: 8 kB / 0.5237 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2459, allocations: 3.938 kB / 0.5237 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2459, allocations: 0 / 0.5237 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.2498, allocations: 3.981 MB / 0.5276 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2498, allocations: 8.094 kB / 0.5276 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.25, allocations: 95.83 kB / 0.5277 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.25, allocations: 8 kB / 0.5277 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2501, allocations: 23.98 kB / 0.5277 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.2501, allocations: 11.94 kB / 0.5278 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2501, allocations: 8 kB / 0.5278 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.2509, allocations: 1.228 MB / 0.529 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2511, allocations: 186.1 kB / 0.5291 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.2512, allocations: 20 kB / 0.5292 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.2514, allocations: 27.92 kB / 0.5292 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.2515, allocations: 59.75 kB / 0.5292 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.2515, allocations: 24 kB / 0.5293 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.2525, allocations: 1.271 MB / 0.5305 GB, free: 8.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2525, allocations: 0 / 0.5305 GB, free: 8.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001348/0.2539, allocations: 0.693 MB / 0.5312 GB, free: 8.078 MB / 442.7 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.001169/0.255, allocations: 1.846 MB / 0.533 GB, free: 6.137 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.2566, allocations: 1.961 MB / 0.5349 GB, free: 4.195 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2566, allocations: 0 / 0.5349 GB, free: 4.195 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.2569, allocations: 429.5 kB / 0.5353 GB, free: 3.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.2576, allocations: 236.7 kB / 0.5355 GB, free: 3.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.2758, allocations: 20.78 MB / 0.5558 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.2772, allocations: 1.699 MB / 0.5575 GB, free: 10.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001229/0.2785, allocations: 0.9518 MB / 0.5584 GB, free: 9.555 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008394/0.2793, allocations: 1.035 MB / 0.5594 GB, free: 8.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2793, allocations: 0 / 0.5594 GB, free: 8.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/0.3207, allocations: 32.95 MB / 0.5916 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.154, allocations: 7.797 kB / 0.5916 GB, free: 7.949 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.28927518427372]