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.001157/0.001157, 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.001324/0.001324, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.9384/0.9384, allocations: 177 MB / 204.1 MB, free: 5.738 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.2516/0.2516, 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.523e-06/1.523e-06, allocations: 3.938 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.226e-05, allocations: 6.281 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.19/0.19, allocations: 8.416 MB / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.1941, allocations: 2.778 MB / 453.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.1947, allocations: 57.09 kB / 453.4 MB, free: 38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.1965, allocations: 2.041 MB / 455.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.198, allocations: 1.171 MB / 456.6 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1984, allocations: 311.7 kB / 456.9 MB, free: 36.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.1999, allocations: 2.37 MB / 459.3 MB, free: 35.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.201, allocations: 1.743 MB / 461 MB, free: 34.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008847/0.2019, allocations: 1.287 MB / 462.3 MB, free: 34.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008555/0.2027, allocations: 1.137 MB / 463.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.2029, allocations: 194.6 kB / 463.6 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.2035, allocations: 0.6403 MB / 464.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.204, allocations: 1.179 MB / 465.5 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.2044, allocations: 0.7179 MB / 466.2 MB, free: 32.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.2067, allocations: 4.285 MB / 470.5 MB, free: 31.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2067, allocations: 0.8438 kB / 470.5 MB, free: 31.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2067, allocations: 4 kB / 470.5 MB, free: 31.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.639e-05/0.2068, allocations: 0 / 470.5 MB, free: 31.43 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.00307/0.2098, allocations: 2.832 MB / 473.3 MB, free: 29.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2099, allocations: 9.125 kB / 473.3 MB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/0.2102, allocations: 486.5 kB / 473.8 MB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.2127, allocations: 1.589 MB / 475.4 MB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.2144, allocations: 1.278 MB / 476.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.2145, allocations: 147.6 kB / 476.8 MB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.2147, allocations: 185.4 kB / 477 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.2219, allocations: 6.256 MB / 483.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.222, allocations: 16.66 kB / 483.2 MB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.2222, allocations: 92.16 kB / 483.3 MB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/0.2238, allocations: 1.344 MB / 484.7 MB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008974/0.2328, allocations: 5.336 MB / 490 MB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.2522, allocations: 19.08 MB / 0.4972 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.255, allocations: 1.639 MB / 0.4988 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.2556, allocations: 0.6357 MB / 0.4994 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003572/0.2592, allocations: 2.994 MB / 0.5023 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2592, allocations: 44.84 kB / 0.5023 GB, free: 7.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/0.2592, allocations: 0 / 0.5023 GB, free: 7.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003049/0.2623, allocations: 2.112 MB / 0.5044 GB, free: 5.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.2623, allocations: 55.91 kB / 0.5045 GB, free: 5.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.2641, allocations: 2.05 MB / 0.5065 GB, free: 3.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.2641, allocations: 37.7 kB / 0.5065 GB, free: 3.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.2647, allocations: 1.899 MB / 0.5084 GB, free: 1.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.2648, allocations: 321.6 kB / 0.5087 GB, free: 1.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.2653, allocations: 0.6117 MB / 0.5093 GB, free: 500 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.2653, allocations: 353.9 kB / 0.5096 GB, free: 140 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008993/0.2662, allocations: 0.8842 MB / 0.5105 GB, free: 15.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.268, allocations: 2.755 MB / 0.5131 GB, free: 11.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/0.2715, allocations: 3.974 MB / 0.517 GB, free: 6.652 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-05/0.2716, allocations: 20 kB / 0.517 GB, free: 6.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003812/0.2754, allocations: 3.526 MB / 0.5205 GB, free: 3.102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.2754, allocations: 32 kB / 0.5205 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-05/0.2755, allocations: 68 kB / 0.5206 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.999e-05/0.2755, allocations: 84 kB / 0.5207 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.2766, allocations: 0.6596 MB / 0.5213 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.276e-05/0.2767, allocations: 131.5 kB / 0.5214 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2779, allocations: 436.6 kB / 0.5219 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.278, allocations: 192 kB / 0.522 GB, free: 1.52 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.001479/0.2795, allocations: 1.334 MB / 0.5233 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.2797, allocations: 162.9 kB / 0.5235 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.2799, allocations: 208.1 kB / 0.5237 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.2799, allocations: 8 kB / 0.5237 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2799, allocations: 0 / 0.5237 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2799, allocations: 7.984 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.2844, allocations: 3.976 MB / 0.5276 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2844, allocations: 4 kB / 0.5276 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.2846, allocations: 104.6 kB / 0.5277 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.2846, allocations: 8 kB / 0.5277 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.2846, allocations: 19.98 kB / 0.5277 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2846, allocations: 8 kB / 0.5277 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.2847, allocations: 11.94 kB / 0.5277 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2857, allocations: 1.236 MB / 0.5289 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.286, allocations: 174.6 kB / 0.5291 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.2861, allocations: 19.98 kB / 0.5291 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.2864, allocations: 35.92 kB / 0.5292 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.2864, allocations: 59.73 kB / 0.5292 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.2865, allocations: 28 kB / 0.5293 GB, free: 9.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00118/0.2876, allocations: 1.263 MB / 0.5305 GB, free: 8.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2876, allocations: 0 / 0.5305 GB, free: 8.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001986/0.2896, allocations: 0.693 MB / 0.5312 GB, free: 7.934 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.001517/0.2911, allocations: 1.848 MB / 0.533 GB, free: 5.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.2932, allocations: 1.952 MB / 0.5349 GB, free: 4.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2932, allocations: 0 / 0.5349 GB, free: 4.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.2936, allocations: 434.6 kB / 0.5353 GB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.2944, allocations: 232.6 kB / 0.5355 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/0.3215, allocations: 20.77 MB / 0.5558 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/0.3242, allocations: 1.711 MB / 0.5575 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002295/0.3265, allocations: 0.9581 MB / 0.5584 GB, free: 9.418 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.3281, allocations: 1.035 MB / 0.5594 GB, free: 8.383 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3281, allocations: 0 / 0.5594 GB, free: 8.383 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04808/0.3762, allocations: 32.94 MB / 0.5916 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.124, allocations: 10.95 kB / 0.5916 GB, free: 7.781 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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] "Error: Could not read variable cutForce.force[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.282773740589619]