Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009253/0.0009253, allocations: 75.7 kB / 20.01 MB, free: 4.5 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.00101/0.00101, allocations: 169.9 kB / 23.31 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8431/0.8431, allocations: 158.6 MB / 185.1 MB, free: 2.984 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1296/0.1296, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.736e-05, allocations: 2.281 kB / 407 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007259/0.007277, allocations: 9.296 MB / 416.3 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.01201, allocations: 2.859 MB / 419.2 MB, free: 5.934 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.01281, allocations: 59.81 kB / 419.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.0148, allocations: 2.056 MB / 421.3 MB, free: 3.812 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.01651, allocations: 1.252 MB / 422.6 MB, free: 2.555 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.01696, allocations: 319.2 kB / 422.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.01881, allocations: 2.488 MB / 425.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.02012, allocations: 1.836 MB / 427.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.02116, allocations: 1.391 MB / 428.6 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.02219, allocations: 1.251 MB / 429.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.02241, allocations: 212 kB / 430.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006661/0.02307, allocations: 0.663 MB / 430.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006695/0.02374, allocations: 1.286 MB / 432 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.02432, allocations: 0.7864 MB / 432.8 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.02731, allocations: 4.684 MB / 437.5 MB, free: 3.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.02731, allocations: 0 / 437.5 MB, free: 3.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02731, allocations: 0 / 437.5 MB, free: 3.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.841e-05/0.02736, allocations: 0 / 437.5 MB, free: 3.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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.003284/0.03065, allocations: 3.054 MB / 440.5 MB, free: 476 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.03069, allocations: 8.031 kB / 440.5 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003989/0.03108, allocations: 0.513 MB / 441 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.03391, allocations: 1.648 MB / 442.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.03541, allocations: 1.356 MB / 444 MB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.483e-05/0.03549, allocations: 156.3 kB / 444.2 MB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.03571, allocations: 200.3 kB / 444.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005731/0.04144, allocations: 6.792 MB / 451.2 MB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.04147, allocations: 11.88 kB / 451.2 MB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.04163, allocations: 91.89 kB / 451.3 MB, free: 5.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001303/0.04293, allocations: 1.47 MB / 452.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.04891, allocations: 5.794 MB / 458.6 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.191/0.2399, allocations: 20.49 MB / 479 MB, free: 85.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.2423, allocations: 1.796 MB / 480.8 MB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.2428, allocations: 0.7232 MB / 481.6 MB, free: 85.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003247/0.2461, allocations: 3.213 MB / 484.8 MB, free: 83.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2461, allocations: 44.38 kB / 484.8 MB, free: 83.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=93): time 3.206e-06/0.2461, allocations: 0 / 484.8 MB, free: 83.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.002977/0.2491, allocations: 2.324 MB / 487.1 MB, free: 83.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.2491, allocations: 61.22 kB / 487.2 MB, free: 83.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.2507, allocations: 2.149 MB / 489.3 MB, free: 82.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2507, allocations: 40.02 kB / 489.4 MB, free: 82.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005867/0.2513, allocations: 2.018 MB / 491.4 MB, free: 81.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.2514, allocations: 373.9 kB / 491.8 MB, free: 80.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004775/0.2519, allocations: 0.6529 MB / 492.4 MB, free: 80.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.252, allocations: 356.1 kB / 492.8 MB, free: 80.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/0.2527, allocations: 0.9652 MB / 493.7 MB, free: 79.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.254, allocations: 2.928 MB / 496.7 MB, free: 76.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.2564, allocations: 4.25 MB / 0.4892 GB, free: 73.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/0.2564, allocations: 24.66 kB / 0.4892 GB, free: 73.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003626/0.26, allocations: 3.787 MB / 0.4929 GB, free: 72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.2601, allocations: 35.22 kB / 0.4929 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-05/0.2601, allocations: 68.62 kB / 0.493 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-05/0.2602, allocations: 99.27 kB / 0.4931 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2614, allocations: 0.7119 MB / 0.4938 GB, free: 71.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.756e-05/0.2615, allocations: 135.7 kB / 0.4939 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.2629, allocations: 455 kB / 0.4943 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.2631, allocations: 203.6 kB / 0.4945 GB, free: 71.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.001865/0.265, allocations: 1.425 MB / 0.4959 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2652, allocations: 177.2 kB / 0.4961 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.2667, allocations: 1.195 MB / 0.4973 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.2667, allocations: 10.78 kB / 0.4973 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2667, allocations: 0 / 0.4973 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2667, allocations: 4.312 kB / 0.4973 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/0.2732, allocations: 4.879 MB / 0.5021 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.2732, allocations: 10.12 kB / 0.5021 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.2735, allocations: 130 kB / 0.5022 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.2735, allocations: 12.06 kB / 0.5022 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.2736, allocations: 30.5 kB / 0.5022 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.2736, allocations: 19.17 kB / 0.5022 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.2736, allocations: 15.19 kB / 0.5023 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.2748, allocations: 1.506 MB / 0.5037 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.2751, allocations: 199.4 kB / 0.5039 GB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2752, allocations: 21.53 kB / 0.5039 GB, free: 67.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.2755, allocations: 41.33 kB / 0.504 GB, free: 67.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.2756, allocations: 76.53 kB / 0.5041 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.2757, allocations: 39.56 kB / 0.5041 GB, free: 67.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001174/0.2769, allocations: 1.324 MB / 0.5054 GB, free: 66.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2769, allocations: 0 / 0.5054 GB, free: 66.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002024/0.2789, allocations: 0.7633 MB / 0.5061 GB, free: 66.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.001238/0.2801, allocations: 2.122 MB / 0.5082 GB, free: 65.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.2822, allocations: 2.155 MB / 0.5103 GB, free: 64.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.2822, allocations: 320 / 0.5103 GB, free: 64.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.2826, allocations: 0.5089 MB / 0.5108 GB, free: 64.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.2834, allocations: 257.2 kB / 0.511 GB, free: 64.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.3027, allocations: 22.51 MB / 0.533 GB, free: 43.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.304, allocations: 1.84 MB / 0.5348 GB, free: 42.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001305/0.3053, allocations: 1.016 MB / 0.5358 GB, free: 41.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/0.306, allocations: 1.138 MB / 0.5369 GB, free: 40.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/0.306, allocations: 0 / 0.5369 GB, free: 40.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.3481, allocations: 35.52 MB / 0.5716 GB, free: 6.008 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.492, allocations: 7.906 kB / 0.5716 GB, free: 6 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForce.force[3] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.581705526448786]