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.001572/0.001572, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 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.001754/0.001754, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2241/0.2241, allocations: 46.92 MB / 360.8 MB, free: 4.18 MB / 286.1 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 0.002327/0.002327, allocations: 79.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2856, allocations: 66.08 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01201/0.2977, allocations: 9.592 MB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.3035, allocations: 2.955 MB / 0.573 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.3045, allocations: 59.81 kB / 0.573 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.3085, allocations: 2.021 MB / 0.575 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.3113, allocations: 1.147 MB / 0.5761 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.312, allocations: 287.4 kB / 0.5764 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.3152, allocations: 2.33 MB / 0.5787 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.3175, allocations: 1.734 MB / 0.5804 GB, free: 40 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.3187, allocations: 0.8917 MB / 0.5812 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.3206, allocations: 1.254 MB / 0.5825 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003743/0.321, allocations: 196 kB / 0.5827 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3223, allocations: 0.7216 MB / 0.5834 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.3234, allocations: 1.141 MB / 0.5845 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.3249, allocations: 1.301 MB / 0.5857 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005596/0.3305, allocations: 4.346 MB / 0.59 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.3305, allocations: 0 / 0.59 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3305, allocations: 3.938 kB / 0.59 GB, free: 6.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.3307, allocations: 3.938 kB / 0.59 GB, free: 6.148 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.00584/0.3365, allocations: 2.855 MB / 0.5928 GB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.3365, allocations: 8.031 kB / 0.5928 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006759/0.3372, allocations: 487.1 kB / 0.5933 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.3423, allocations: 1.578 MB / 0.5948 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.3455, allocations: 1.275 MB / 0.596 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.3456, allocations: 151.8 kB / 0.5962 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005493/0.3462, allocations: 183.9 kB / 0.5964 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3571, allocations: 6.25 MB / 0.6025 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.3572, allocations: 15.88 kB / 0.6025 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.3574, allocations: 87.91 kB / 0.6026 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/0.3596, allocations: 1.34 MB / 0.6039 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.37, allocations: 5.334 MB / 0.6091 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.3998, allocations: 19.96 MB / 0.6286 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/0.404, allocations: 1.552 MB / 0.6301 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009812/0.405, allocations: 0.6367 MB / 0.6307 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006377/0.4114, allocations: 3.031 MB / 0.6337 GB, free: 8.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4114, allocations: 39 kB / 0.6337 GB, free: 8.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/0.4114, allocations: 0 / 0.6337 GB, free: 8.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005422/0.4168, allocations: 1.978 MB / 0.6356 GB, free: 6.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4169, allocations: 55.84 kB / 0.6357 GB, free: 6.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.4196, allocations: 1.946 MB / 0.6376 GB, free: 4.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/0.4197, allocations: 41.64 kB / 0.6376 GB, free: 4.312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.4212, allocations: 1.907 MB / 0.6395 GB, free: 2.383 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.4215, allocations: 333.5 kB / 0.6398 GB, free: 2.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008348/0.4224, allocations: 0.6195 MB / 0.6404 GB, free: 1.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.4226, allocations: 357.9 kB / 0.6408 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4239, allocations: 0.8881 MB / 0.6416 GB, free: 184 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.427, allocations: 2.748 MB / 0.6443 GB, free: 12.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/0.4319, allocations: 3.982 MB / 0.6482 GB, free: 7.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-05/0.432, allocations: 20 kB / 0.6482 GB, free: 7.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005791/0.4378, allocations: 3.526 MB / 0.6517 GB, free: 4.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.4378, allocations: 32 kB / 0.6517 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.238e-05/0.4379, allocations: 68 kB / 0.6518 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.466e-05/0.438, allocations: 84 kB / 0.6518 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.44, allocations: 0.6589 MB / 0.6525 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.4401, allocations: 123.5 kB / 0.6526 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.442, allocations: 437 kB / 0.653 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/0.4423, allocations: 195.8 kB / 0.6532 GB, free: 2.461 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.002018/0.4443, allocations: 1.342 MB / 0.6545 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.4446, allocations: 162.9 kB / 0.6547 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.4449, allocations: 196.9 kB / 0.6549 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.4449, allocations: 8 kB / 0.6549 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4449, allocations: 0 / 0.6549 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.445, allocations: 7.984 kB / 0.6549 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007158/0.4521, allocations: 4.048 MB / 0.6588 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.4521, allocations: 4 kB / 0.6588 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.4526, allocations: 103.8 kB / 0.6589 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.4526, allocations: 8.75 kB / 0.6589 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.4526, allocations: 15.94 kB / 0.659 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.4526, allocations: 12 kB / 0.659 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.4526, allocations: 11.94 kB / 0.659 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.4543, allocations: 1.243 MB / 0.6602 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.4546, allocations: 174.6 kB / 0.6604 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.4548, allocations: 23.94 kB / 0.6604 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.4553, allocations: 23.97 kB / 0.6604 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4554, allocations: 59.75 kB / 0.6605 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.4555, allocations: 31.98 kB / 0.6605 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002054/0.4575, allocations: 1.263 MB / 0.6617 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4575, allocations: 0 / 0.6617 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002783/0.4603, allocations: 0.6968 MB / 0.6624 GB, free: 8.805 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.002213/0.4625, allocations: 1.853 MB / 0.6642 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003329/0.4658, allocations: 1.968 MB / 0.6661 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.4658, allocations: 0 / 0.6661 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.4665, allocations: 431.8 kB / 0.6665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4677, allocations: 237.2 kB / 0.6668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/0.4994, allocations: 20.89 MB / 0.6872 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002943/0.5023, allocations: 2.259 MB / 0.6894 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002198/0.5045, allocations: 0.9557 MB / 0.6903 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/0.5061, allocations: 1.038 MB / 0.6913 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.5061, allocations: 0 / 0.6913 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07551/0.5816, allocations: 35.23 MB / 0.7257 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.69, allocations: 2.5 kB / 0.7257 GB, free: 5.449 MB / 0.5606 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/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: 18.90443448300357]