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.001356/0.001356, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001682/0.001682, allocations: 215.4 kB / 22.99 MB, free: 4.602 MB / 14.72 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 1.414/1.414, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2134/0.2134, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 71.89 kB / 467.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1239, allocations: 61.04 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01244/0.1364, allocations: 9.289 MB / 0.5252 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007111/0.1435, allocations: 2.855 MB / 0.528 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.1451, allocations: 63.81 kB / 0.5281 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004291/0.1493, allocations: 1.947 MB / 0.53 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.1526, allocations: 1.226 MB / 0.5312 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.1535, allocations: 295.4 kB / 0.5314 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003702/0.1572, allocations: 2.45 MB / 0.5338 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.1599, allocations: 1.812 MB / 0.5356 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.1617, allocations: 0.9579 MB / 0.5365 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.1641, allocations: 1.293 MB / 0.5378 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000755/0.1649, allocations: 212 kB / 0.538 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.1666, allocations: 0.6124 MB / 0.5386 GB, free: 72 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2326/0.3992, allocations: 1.247 MB / 0.5398 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.4004, allocations: 1.04 MB / 0.5408 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.4057, allocations: 4.737 MB / 0.5455 GB, free: 12.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4057, allocations: 0 / 0.5455 GB, free: 12.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4057, allocations: 0 / 0.5455 GB, free: 12.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.4059, allocations: 1.25 kB / 0.5455 GB, free: 12.05 MB / 414.1 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.005794/0.4116, allocations: 3.077 MB / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4117, allocations: 9.375 kB / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007328/0.4124, allocations: 0.5089 MB / 0.549 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.4179, allocations: 1.637 MB / 0.5506 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.4215, allocations: 1.345 MB / 0.5519 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.4216, allocations: 157.7 kB / 0.552 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004987/0.4221, allocations: 203.3 kB / 0.5522 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.4337, allocations: 6.781 MB / 0.5589 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/0.4338, allocations: 17.75 kB / 0.5589 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.4341, allocations: 91.27 kB / 0.559 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002714/0.4368, allocations: 1.48 MB / 0.5604 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.4485, allocations: 5.792 MB / 0.5661 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.4768, allocations: 20.36 MB / 0.5859 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004046/0.4808, allocations: 1.727 MB / 0.5876 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/0.4818, allocations: 0.7218 MB / 0.5883 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005774/0.4875, allocations: 3.124 MB / 0.5914 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.4876, allocations: 39.22 kB / 0.5914 GB, free: 4.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.396e-06/0.4876, allocations: 0 / 0.5914 GB, free: 4.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.005817/0.4934, allocations: 2.206 MB / 0.5936 GB, free: 2.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4934, allocations: 56.06 kB / 0.5936 GB, free: 2.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.4968, allocations: 2.152 MB / 0.5957 GB, free: 32 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.4969, allocations: 38.61 kB / 0.5958 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.4986, allocations: 2.027 MB / 0.5977 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.499, allocations: 388.6 kB / 0.5981 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009996/0.5, allocations: 0.6661 MB / 0.5988 GB, free: 12.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5002, allocations: 357.9 kB / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5018, allocations: 0.9663 MB / 0.6001 GB, free: 11.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/0.5053, allocations: 2.92 MB / 0.6029 GB, free: 7.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/0.5105, allocations: 4.243 MB / 0.607 GB, free: 2.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-05/0.5106, allocations: 20 kB / 0.6071 GB, free: 2.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007307/0.5179, allocations: 3.791 MB / 0.6108 GB, free: 15.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.518, allocations: 36 kB / 0.6108 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.5181, allocations: 71.94 kB / 0.6109 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.5182, allocations: 95.94 kB / 0.611 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.5205, allocations: 0.7135 MB / 0.6117 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000126/0.5206, allocations: 131.5 kB / 0.6118 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.5232, allocations: 464.5 kB / 0.6122 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005341/0.5238, allocations: 199.9 kB / 0.6124 GB, free: 13.68 MB / 462.1 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.003217/0.527, allocations: 1.426 MB / 0.6138 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.5274, allocations: 182.3 kB / 0.614 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.5298, allocations: 1.197 MB / 0.6152 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.5298, allocations: 15.94 kB / 0.6152 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5298, allocations: 0 / 0.6152 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.5298, allocations: 3.984 kB / 0.6152 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.5401, allocations: 4.846 MB / 0.6199 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.5402, allocations: 8 kB / 0.6199 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.5407, allocations: 131.8 kB / 0.62 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.5407, allocations: 12 kB / 0.6201 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.5408, allocations: 28.56 kB / 0.6201 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/0.5408, allocations: 15.94 kB / 0.6201 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/0.5408, allocations: 23.92 kB / 0.6201 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.5431, allocations: 1.517 MB / 0.6216 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/0.5437, allocations: 198.5 kB / 0.6218 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.5441, allocations: 35.39 kB / 0.6218 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.5448, allocations: 38.23 kB / 0.6219 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.545, allocations: 75.67 kB / 0.6219 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.545, allocations: 43.92 kB / 0.622 GB, free: 3.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002471/0.5475, allocations: 1.324 MB / 0.6233 GB, free: 2.242 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5475, allocations: 0 / 0.6233 GB, free: 2.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003207/0.5507, allocations: 0.7553 MB / 0.624 GB, free: 1.484 MB / 462.1 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.002679/0.5534, allocations: 2.134 MB / 0.6261 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003578/0.557, allocations: 2.158 MB / 0.6282 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.557, allocations: 0 / 0.6282 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.5577, allocations: 0.5145 MB / 0.6287 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.5592, allocations: 252.8 kB / 0.6289 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03898/0.5982, allocations: 22.63 MB / 0.651 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003746/0.602, allocations: 1.843 MB / 0.6528 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002435/0.6044, allocations: 1.014 MB / 0.6538 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/0.6063, allocations: 1.137 MB / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.6063, allocations: 0 / 0.6549 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.6829, allocations: 35.39 MB / 0.6895 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.41, allocations: 7.984 kB / 0.6895 GB, free: 11.53 MB / 0.5294 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/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: 16.4371692170389]