Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.0009605/0.0009605, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009327/0.0009327, allocations: 174.3 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.8995/0.8995, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2574/0.2574, 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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.753e-05, allocations: 4.391 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1838/0.1838, allocations: 8.417 MB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.1881, allocations: 2.777 MB / 450.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.1889, allocations: 55.62 kB / 450.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.1905, allocations: 2.042 MB / 452.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1919, allocations: 1.171 MB / 454 MB, free: 39.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1923, allocations: 309.8 kB / 454.3 MB, free: 39.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1937, allocations: 2.375 MB / 456.7 MB, free: 38.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.1948, allocations: 1.741 MB / 458.5 MB, free: 37.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.1956, allocations: 1.283 MB / 459.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.1963, allocations: 1.143 MB / 460.9 MB, free: 36.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1964, allocations: 194 kB / 461.1 MB, free: 36.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.1971, allocations: 0.6439 MB / 461.7 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004532/0.1976, allocations: 1.172 MB / 462.9 MB, free: 35.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.1979, allocations: 0.7125 MB / 463.6 MB, free: 35.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.2001, allocations: 4.291 MB / 467.9 MB, free: 34.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2001, allocations: 0 / 467.9 MB, free: 34.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2001, allocations: 4 kB / 467.9 MB, free: 34.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.76e-05/0.2001, allocations: 0 / 467.9 MB, free: 34.05 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.002612/0.2027, allocations: 2.832 MB / 470.7 MB, free: 32.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2028, allocations: 9.438 kB / 470.7 MB, free: 32.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002937/0.203, allocations: 482.1 kB / 471.2 MB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.2054, allocations: 1.599 MB / 472.8 MB, free: 31.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.2067, allocations: 1.274 MB / 474.1 MB, free: 31.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.2068, allocations: 149 kB / 474.2 MB, free: 31.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.207, allocations: 186.8 kB / 474.4 MB, free: 31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004859/0.2118, allocations: 6.259 MB / 480.7 MB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.2119, allocations: 13.75 kB / 480.7 MB, free: 28.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.212, allocations: 88.92 kB / 480.8 MB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001426/0.2134, allocations: 1.339 MB / 482.1 MB, free: 28.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006657/0.2201, allocations: 5.344 MB / 487.4 MB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.2365, allocations: 19.08 MB / 0.4947 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.2394, allocations: 1.645 MB / 0.4963 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.24, allocations: 0.6387 MB / 0.4969 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003628/0.2436, allocations: 2.98 MB / 0.4998 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.2436, allocations: 40.09 kB / 0.4998 GB, free: 11.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.2436, allocations: 0 / 0.4998 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002887/0.2465, allocations: 2.114 MB / 0.5019 GB, free: 9.527 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.2466, allocations: 58.25 kB / 0.502 GB, free: 9.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.2481, allocations: 2.054 MB / 0.504 GB, free: 7.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.2482, allocations: 33.7 kB / 0.504 GB, free: 7.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.2486, allocations: 1.895 MB / 0.5058 GB, free: 5.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2487, allocations: 325.6 kB / 0.5061 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/0.2491, allocations: 0.6078 MB / 0.5067 GB, free: 4.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.2491, allocations: 357.9 kB / 0.5071 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.2498, allocations: 0.888 MB / 0.508 GB, free: 3.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.2509, allocations: 2.753 MB / 0.5106 GB, free: 15.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.2538, allocations: 3.969 MB / 0.5145 GB, free: 10.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.2538, allocations: 23.94 kB / 0.5145 GB, free: 10.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00344/0.2572, allocations: 3.532 MB / 0.518 GB, free: 7.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.2573, allocations: 36 kB / 0.518 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/0.2573, allocations: 64 kB / 0.5181 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.559e-05/0.2574, allocations: 88 kB / 0.5182 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.2584, allocations: 0.6556 MB / 0.5188 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.167e-05/0.2585, allocations: 131.5 kB / 0.5189 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.2596, allocations: 428.8 kB / 0.5193 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.2597, allocations: 188 kB / 0.5195 GB, free: 5.547 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.001663/0.2614, allocations: 1.352 MB / 0.5208 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.2615, allocations: 166 kB / 0.521 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2617, allocations: 196.9 kB / 0.5212 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.2617, allocations: 12 kB / 0.5212 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2617, allocations: 0 / 0.5212 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2618, allocations: 3.984 kB / 0.5212 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.266, allocations: 3.972 MB / 0.5251 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.266, allocations: 8 kB / 0.5251 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.2662, allocations: 96.62 kB / 0.5252 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.2663, allocations: 8 kB / 0.5252 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.2663, allocations: 27.91 kB / 0.5252 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.2663, allocations: 11.94 kB / 0.5252 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2663, allocations: 11.94 kB / 0.5252 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.2673, allocations: 1.232 MB / 0.5264 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.2676, allocations: 174.6 kB / 0.5266 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.2677, allocations: 23.92 kB / 0.5266 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2679, allocations: 27.94 kB / 0.5267 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.268, allocations: 63.67 kB / 0.5267 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.268, allocations: 28 kB / 0.5267 GB, free: 13.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.2691, allocations: 1.271 MB / 0.528 GB, free: 12.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 0 / 0.528 GB, free: 12.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001608/0.2707, allocations: 0.6852 MB / 0.5287 GB, free: 11.95 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.001292/0.272, allocations: 1.843 MB / 0.5305 GB, free: 10.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.274, allocations: 1.956 MB / 0.5324 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.274, allocations: 7.875 kB / 0.5324 GB, free: 8.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.2744, allocations: 438.6 kB / 0.5328 GB, free: 7.637 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.2752, allocations: 236.4 kB / 0.533 GB, free: 7.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.2957, allocations: 20.76 MB / 0.5533 GB, free: 124 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.2973, allocations: 1.708 MB / 0.555 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00142/0.2988, allocations: 0.9533 MB / 0.5559 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008303/0.2996, allocations: 1.031 MB / 0.5569 GB, free: 12.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2996, allocations: 0 / 0.5569 GB, free: 12.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/0.3449, allocations: 32.95 MB / 0.5891 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.792, allocations: 18.67 kB / 0.5891 GB, free: 11.82 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.945804226212204]