Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001147/0.001147, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009273/0.0009273, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8971/0.8971, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.351e-05, allocations: 2.281 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1785/0.1785, allocations: 8.411 MB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.1827, allocations: 2.78 MB / 450.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009657/0.1836, allocations: 59.44 kB / 450.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.1855, allocations: 2.03 MB / 452.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1869, allocations: 1.174 MB / 454 MB, free: 39.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1873, allocations: 315 kB / 454.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.189, allocations: 2.375 MB / 456.7 MB, free: 38.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.19, allocations: 1.737 MB / 458.5 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.1909, allocations: 1.288 MB / 459.7 MB, free: 36.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.1916, allocations: 1.141 MB / 460.9 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.1918, allocations: 193.7 kB / 461.1 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.1925, allocations: 0.6419 MB / 461.7 MB, free: 36.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.1929, allocations: 1.177 MB / 462.9 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.1933, allocations: 0.7191 MB / 463.6 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.1956, allocations: 4.285 MB / 467.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1956, allocations: 0 / 467.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1956, allocations: 0 / 467.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.6e-05/0.1957, allocations: 0 / 467.9 MB, free: 34.09 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.003024/0.1987, allocations: 2.831 MB / 470.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1987, allocations: 10.03 kB / 470.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003584/0.1991, allocations: 483.3 kB / 471.2 MB, free: 32.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.2017, allocations: 1.594 MB / 472.8 MB, free: 31.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.2035, allocations: 1.281 MB / 474.1 MB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.2036, allocations: 149.7 kB / 474.2 MB, free: 31.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.2038, allocations: 184.3 kB / 474.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005956/0.2097, allocations: 6.256 MB / 480.7 MB, free: 28.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.2097, allocations: 13.94 kB / 480.7 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.2099, allocations: 91.08 kB / 480.8 MB, free: 28.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001501/0.2114, allocations: 1.34 MB / 482.1 MB, free: 28.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/0.2191, allocations: 5.34 MB / 487.4 MB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.2379, allocations: 19.08 MB / 0.4947 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.2407, allocations: 1.643 MB / 0.4963 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.2412, allocations: 0.6415 MB / 0.4969 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003658/0.2449, allocations: 2.98 MB / 0.4998 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2449, allocations: 35.06 kB / 0.4998 GB, free: 11.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.2449, allocations: 4 kB / 0.4998 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002768/0.2477, allocations: 2.115 MB / 0.5019 GB, free: 9.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.2477, allocations: 62.25 kB / 0.502 GB, free: 9.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.2493, allocations: 2.046 MB / 0.504 GB, free: 7.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2493, allocations: 33.7 kB / 0.504 GB, free: 7.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.2497, allocations: 1.907 MB / 0.5058 GB, free: 5.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2498, allocations: 313.6 kB / 0.5061 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/0.2502, allocations: 0.6156 MB / 0.5067 GB, free: 4.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.2503, allocations: 357.9 kB / 0.5071 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.251, allocations: 0.8856 MB / 0.508 GB, free: 3.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2521, allocations: 2.751 MB / 0.5106 GB, free: 15.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.2549, allocations: 3.97 MB / 0.5145 GB, free: 10.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/0.2549, allocations: 20 kB / 0.5145 GB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003226/0.2582, allocations: 3.529 MB / 0.518 GB, free: 7.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.2582, allocations: 32 kB / 0.518 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/0.2582, allocations: 68 kB / 0.5181 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.484e-05/0.2583, allocations: 88 kB / 0.5182 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.2593, allocations: 0.655 MB / 0.5188 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.974e-05/0.2594, allocations: 131.5 kB / 0.5189 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.2606, allocations: 437.2 kB / 0.5193 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.2607, allocations: 186.2 kB / 0.5195 GB, free: 5.535 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.001945/0.2627, allocations: 1.35 MB / 0.5208 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2629, allocations: 166 kB / 0.521 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.2631, allocations: 192.9 kB / 0.5212 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.2632, allocations: 12 kB / 0.5212 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2632, allocations: 4 kB / 0.5212 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2632, allocations: 3.984 kB / 0.5212 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/0.2679, allocations: 3.972 MB / 0.5251 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.2679, allocations: 11.92 kB / 0.5251 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.2681, allocations: 99.83 kB / 0.5252 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.2681, allocations: 8 kB / 0.5252 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.2682, allocations: 20.67 kB / 0.5252 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.2682, allocations: 11.94 kB / 0.5252 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2682, allocations: 8 kB / 0.5252 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.2691, allocations: 1.232 MB / 0.5264 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.2693, allocations: 182.6 kB / 0.5266 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.2694, allocations: 16 kB / 0.5266 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2696, allocations: 31.92 kB / 0.5267 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.2697, allocations: 55.75 kB / 0.5267 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2697, allocations: 28 kB / 0.5267 GB, free: 13.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.2708, allocations: 1.275 MB / 0.528 GB, free: 12.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2708, allocations: 0 / 0.528 GB, free: 12.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002082/0.2729, allocations: 0.6891 MB / 0.5287 GB, free: 11.94 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.001347/0.2743, allocations: 1.846 MB / 0.5305 GB, free: 9.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.2765, allocations: 1.964 MB / 0.5324 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2766, allocations: 0 / 0.5324 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.2769, allocations: 425.9 kB / 0.5328 GB, free: 7.633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.2777, allocations: 241.4 kB / 0.533 GB, free: 7.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.2964, allocations: 20.77 MB / 0.5533 GB, free: 104 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.2979, allocations: 1.697 MB / 0.555 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001253/0.2991, allocations: 0.9557 MB / 0.5559 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/0.2999, allocations: 1.039 MB / 0.5569 GB, free: 12.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.644e-06/0.3, allocations: 4 kB / 0.5569 GB, free: 12.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04477/0.3447, allocations: 32.95 MB / 0.5891 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.853, allocations: 6.812 kB / 0.5891 GB, free: 11.81 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.000915405340493]