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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009825/0.0009825, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9025/0.9025, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2608/0.2608, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.258e-05, allocations: 2.281 kB / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1626/0.1626, allocations: 8.413 MB / 450.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.1667, allocations: 2.776 MB / 453.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007489/0.1674, allocations: 56.72 kB / 453.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.1693, allocations: 2.043 MB / 455.4 MB, free: 37.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1707, allocations: 1.169 MB / 456.6 MB, free: 36.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.1712, allocations: 306.7 kB / 456.9 MB, free: 36.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.1727, allocations: 2.369 MB / 459.3 MB, free: 35.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.1737, allocations: 1.746 MB / 461 MB, free: 34.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.1745, allocations: 1.281 MB / 462.3 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.1753, allocations: 1.141 MB / 463.4 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.1754, allocations: 194.7 kB / 463.6 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.176, allocations: 0.6471 MB / 464.3 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004301/0.1764, allocations: 1.177 MB / 465.5 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.1768, allocations: 0.7115 MB / 466.2 MB, free: 32.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.1791, allocations: 4.286 MB / 470.5 MB, free: 31.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1791, allocations: 0 / 470.5 MB, free: 31.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1791, allocations: 0 / 470.5 MB, free: 31.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.581e-05/0.1791, allocations: 7.281 kB / 470.5 MB, free: 31.47 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.002719/0.1818, allocations: 2.835 MB / 473.3 MB, free: 29.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1819, allocations: 9.125 kB / 473.3 MB, free: 29.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000296/0.1822, allocations: 480.8 kB / 473.8 MB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.1846, allocations: 1.599 MB / 475.4 MB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1859, allocations: 1.277 MB / 476.6 MB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.186, allocations: 145.2 kB / 476.8 MB, free: 28.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.1862, allocations: 187.1 kB / 477 MB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006367/0.1926, allocations: 6.256 MB / 483.2 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.1926, allocations: 13.59 kB / 483.2 MB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.1928, allocations: 86.94 kB / 483.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001393/0.1941, allocations: 1.347 MB / 484.7 MB, free: 25.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007479/0.2016, allocations: 5.336 MB / 490 MB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.2206, allocations: 19.08 MB / 0.4972 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.2233, allocations: 1.642 MB / 0.4988 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.2239, allocations: 0.6351 MB / 0.4994 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003121/0.227, allocations: 2.99 MB / 0.5023 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.227, allocations: 39.06 kB / 0.5023 GB, free: 7.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.276e-06/0.227, allocations: 4 kB / 0.5023 GB, free: 7.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002856/0.2299, allocations: 2.112 MB / 0.5044 GB, free: 5.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2299, allocations: 55.91 kB / 0.5045 GB, free: 5.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.2316, allocations: 2.046 MB / 0.5065 GB, free: 3.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/0.2317, allocations: 37.64 kB / 0.5065 GB, free: 3.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.2323, allocations: 1.903 MB / 0.5084 GB, free: 1.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.2324, allocations: 317.6 kB / 0.5087 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.2329, allocations: 0.6117 MB / 0.5093 GB, free: 488 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.2329, allocations: 357.9 kB / 0.5096 GB, free: 124 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.2338, allocations: 0.8842 MB / 0.5105 GB, free: 15.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.2356, allocations: 2.748 MB / 0.5131 GB, free: 11.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.2385, allocations: 3.979 MB / 0.517 GB, free: 6.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.888e-05/0.2386, allocations: 20 kB / 0.517 GB, free: 6.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003867/0.2425, allocations: 3.529 MB / 0.5205 GB, free: 3.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.2425, allocations: 36 kB / 0.5205 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/0.2426, allocations: 64 kB / 0.5206 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.065e-05/0.2426, allocations: 91.94 kB / 0.5207 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.2437, allocations: 0.6511 MB / 0.5213 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.347e-05/0.2437, allocations: 136 kB / 0.5214 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.2449, allocations: 428.8 kB / 0.5219 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.2451, allocations: 192 kB / 0.522 GB, free: 1.516 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.001711/0.2468, allocations: 1.345 MB / 0.5233 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.247, allocations: 162.9 kB / 0.5235 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.2472, allocations: 196.9 kB / 0.5237 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.2472, allocations: 8 kB / 0.5237 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.2472, allocations: 7.938 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2472, allocations: 3.984 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.2517, allocations: 3.973 MB / 0.5276 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2517, allocations: 8 kB / 0.5276 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2519, allocations: 99.81 kB / 0.5277 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.2519, allocations: 10.25 kB / 0.5277 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.2519, allocations: 20 kB / 0.5277 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.2519, allocations: 15.94 kB / 0.5277 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2519, allocations: 8 kB / 0.5277 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/0.2528, allocations: 1.232 MB / 0.5289 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2531, allocations: 174.6 kB / 0.5291 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.2531, allocations: 19.98 kB / 0.5291 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2534, allocations: 27.94 kB / 0.5292 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.2535, allocations: 63.72 kB / 0.5292 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.2535, allocations: 31.98 kB / 0.5293 GB, free: 9.879 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.2546, allocations: 1.275 MB / 0.5305 GB, free: 8.613 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2546, allocations: 0 / 0.5305 GB, free: 8.613 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001584/0.2562, allocations: 0.6813 MB / 0.5312 GB, free: 7.93 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.001406/0.2576, allocations: 1.852 MB / 0.533 GB, free: 5.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.2595, allocations: 1.952 MB / 0.5349 GB, free: 4.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.2595, allocations: 3.938 kB / 0.5349 GB, free: 4.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.2599, allocations: 429.8 kB / 0.5353 GB, free: 3.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.2606, allocations: 237.6 kB / 0.5355 GB, free: 3.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/0.2828, allocations: 20.77 MB / 0.5558 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.2845, allocations: 1.708 MB / 0.5575 GB, free: 10.36 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001708/0.2862, allocations: 0.9503 MB / 0.5584 GB, free: 9.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.2874, allocations: 1.035 MB / 0.5594 GB, free: 8.375 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/0.2874, allocations: 0 / 0.5594 GB, free: 8.375 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04858/0.336, allocations: 32.94 MB / 0.5916 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.792, allocations: 15.02 kB / 0.5916 GB, free: 7.766 MB / 0.4948 GB " [Timeout remaining time 652] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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: 9.923463818617165]