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.001329/0.001329, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001553/0.001553, allocations: 212.5 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2187/0.2187, allocations: 44.95 MB / 358.8 MB, free: 6.078 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002066/0.002066, allocations: 67.91 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3261, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01127/0.3373, allocations: 8.399 MB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.3433, allocations: 2.776 MB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.3443, allocations: 55.81 kB / 0.5679 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003799/0.3481, allocations: 1.943 MB / 0.5698 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.3506, allocations: 1.14 MB / 0.5709 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.3512, allocations: 283.5 kB / 0.5712 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.3542, allocations: 2.329 MB / 0.5735 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.3564, allocations: 1.734 MB / 0.5752 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3574, allocations: 0.8995 MB / 0.5761 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.359, allocations: 1.168 MB / 0.5772 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.3593, allocations: 192 kB / 0.5774 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3604, allocations: 0.6123 MB / 0.578 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.3615, allocations: 1.137 MB / 0.5791 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009963/0.3625, allocations: 0.9471 MB / 0.58 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.3671, allocations: 4.342 MB / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3671, allocations: 4 kB / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3671, allocations: 0 / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.5e-05/0.3671, allocations: 0 / 0.5843 GB, free: 11.45 MB / 430.1 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.004706/0.3718, allocations: 2.859 MB / 0.587 GB, free: 8.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3719, allocations: 8.031 kB / 0.5871 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005952/0.3725, allocations: 494.9 kB / 0.5875 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.3775, allocations: 1.578 MB / 0.5891 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3805, allocations: 1.282 MB / 0.5903 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.3806, allocations: 151.8 kB / 0.5905 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.381, allocations: 183.9 kB / 0.5906 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.3911, allocations: 6.25 MB / 0.5967 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.3912, allocations: 11.88 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.3914, allocations: 87.91 kB / 0.5968 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/0.3935, allocations: 1.348 MB / 0.5982 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.4038, allocations: 5.319 MB / 0.6033 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02724/0.4311, allocations: 19.01 MB / 0.6219 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.4352, allocations: 1.564 MB / 0.6234 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009895/0.4362, allocations: 0.6328 MB / 0.6241 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006726/0.4429, allocations: 2.895 MB / 0.6269 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.443, allocations: 39 kB / 0.6269 GB, free: 14.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.608e-06/0.443, allocations: 0 / 0.6269 GB, free: 14.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005401/0.4484, allocations: 1.974 MB / 0.6289 GB, free: 12.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.4484, allocations: 63.78 kB / 0.6289 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.4513, allocations: 2.054 MB / 0.6309 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.4513, allocations: 33.7 kB / 0.631 GB, free: 10.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.4528, allocations: 1.919 MB / 0.6328 GB, free: 8.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.4531, allocations: 325.5 kB / 0.6331 GB, free: 8.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007917/0.4539, allocations: 0.6234 MB / 0.6337 GB, free: 7.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.454, allocations: 357.9 kB / 0.6341 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4553, allocations: 0.8881 MB / 0.635 GB, free: 6.438 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.4583, allocations: 2.744 MB / 0.6376 GB, free: 2.762 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.463, allocations: 3.973 MB / 0.6415 GB, free: 13.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/0.463, allocations: 16 kB / 0.6415 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005562/0.4686, allocations: 3.539 MB / 0.645 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.4687, allocations: 32 kB / 0.645 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.998e-05/0.4687, allocations: 64 kB / 0.6451 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.56e-05/0.4688, allocations: 88.75 kB / 0.6452 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.4707, allocations: 0.6589 MB / 0.6458 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001103/0.4708, allocations: 127.5 kB / 0.6459 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4727, allocations: 428.9 kB / 0.6463 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/0.4729, allocations: 191.9 kB / 0.6465 GB, free: 8.73 MB / 494.1 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.002079/0.475, allocations: 1.338 MB / 0.6478 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.4753, allocations: 162.9 kB / 0.648 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.4757, allocations: 200.9 kB / 0.6482 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.4757, allocations: 11.98 kB / 0.6482 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4757, allocations: 0 / 0.6482 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4757, allocations: 0 / 0.6482 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00705/0.4827, allocations: 3.974 MB / 0.6521 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.4828, allocations: 4 kB / 0.6521 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4832, allocations: 92.58 kB / 0.6522 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.4832, allocations: 8 kB / 0.6522 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.4832, allocations: 31.92 kB / 0.6522 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.4833, allocations: 8 kB / 0.6522 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.4833, allocations: 11.94 kB / 0.6522 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.4849, allocations: 1.239 MB / 0.6534 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.4854, allocations: 182.5 kB / 0.6536 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.4855, allocations: 19.94 kB / 0.6536 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.486, allocations: 39.91 kB / 0.6537 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.4861, allocations: 55.81 kB / 0.6537 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.4861, allocations: 31.98 kB / 0.6537 GB, free: 1.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.4879, allocations: 1.263 MB / 0.655 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4879, allocations: 0 / 0.655 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002492/0.4904, allocations: 0.6852 MB / 0.6556 GB, free: 15.15 MB / 0.4981 GB 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.002187/0.4926, allocations: 1.853 MB / 0.6574 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003281/0.4959, allocations: 1.955 MB / 0.6594 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4959, allocations: 0 / 0.6594 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.4965, allocations: 434.7 kB / 0.6598 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4978, allocations: 235.7 kB / 0.66 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/0.5281, allocations: 20.88 MB / 0.6804 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.5304, allocations: 1.7 MB / 0.6821 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002095/0.5325, allocations: 0.9518 MB / 0.683 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.5338, allocations: 1.038 MB / 0.684 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.5338, allocations: 0 / 0.684 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.6054, allocations: 32.9 MB / 0.7161 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.26, allocations: 2.969 kB / 0.7161 GB, free: 14.95 MB / 0.5606 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.350434217136353]