Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001784/0.001784, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.002511/0.002511, allocations: 205 kB / 23.73 MB, free: 4.5 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2415/0.2415, allocations: 46.94 MB / 360.8 MB, free: 3.91 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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 80.06 kB / 0.4961 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3509, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01159/0.3625, allocations: 8.394 MB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.3691, allocations: 2.784 MB / 0.5716 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.3705, allocations: 55.81 kB / 0.5717 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.3745, allocations: 1.943 MB / 0.5736 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.3775, allocations: 1.136 MB / 0.5747 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.3784, allocations: 287.5 kB / 0.5749 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.3819, allocations: 2.322 MB / 0.5772 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/0.3848, allocations: 1.734 MB / 0.5789 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.3866, allocations: 0.8878 MB / 0.5798 GB, free: 360 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.3887, allocations: 1.176 MB / 0.5809 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.3893, allocations: 196 kB / 0.5811 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3908, allocations: 0.6084 MB / 0.5817 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.3923, allocations: 1.137 MB / 0.5828 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.3942, allocations: 0.947 MB / 0.5837 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.4, allocations: 4.342 MB / 0.588 GB, free: 7.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4, allocations: 4 kB / 0.588 GB, free: 7.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4, allocations: 0 / 0.588 GB, free: 7.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.4002, allocations: 0 / 0.588 GB, free: 7.914 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.007448/0.4076, allocations: 2.859 MB / 0.5908 GB, free: 5.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4077, allocations: 12.03 kB / 0.5908 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007132/0.4084, allocations: 487 kB / 0.5912 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/0.4135, allocations: 1.582 MB / 0.5928 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.4169, allocations: 1.283 MB / 0.594 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.417, allocations: 147.8 kB / 0.5942 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.4175, allocations: 187.8 kB / 0.5944 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.4293, allocations: 6.246 MB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.038e-05/0.4294, allocations: 11.88 kB / 0.6005 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004965/0.4299, allocations: 87.91 kB / 0.6006 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.4321, allocations: 1.348 MB / 0.6019 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.4431, allocations: 5.322 MB / 0.6071 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.4739, allocations: 19.02 MB / 0.6256 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.4783, allocations: 1.552 MB / 0.6272 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.4793, allocations: 0.6328 MB / 0.6278 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006644/0.486, allocations: 2.903 MB / 0.6306 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.486, allocations: 39 kB / 0.6306 GB, free: 11.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/0.486, allocations: 3.938 kB / 0.6307 GB, free: 11.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005781/0.4918, allocations: 1.974 MB / 0.6326 GB, free: 9.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.4919, allocations: 63.78 kB / 0.6326 GB, free: 9.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.4961, allocations: 2.05 MB / 0.6346 GB, free: 7.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.4962, allocations: 33.7 kB / 0.6347 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.498, allocations: 1.919 MB / 0.6366 GB, free: 5.102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/0.4986, allocations: 325.5 kB / 0.6369 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.4999, allocations: 0.6234 MB / 0.6375 GB, free: 4.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.5001, allocations: 357.9 kB / 0.6378 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.5017, allocations: 0.8842 MB / 0.6387 GB, free: 2.906 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/0.5049, allocations: 2.751 MB / 0.6414 GB, free: 15.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00532/0.5102, allocations: 3.964 MB / 0.6452 GB, free: 10.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.219e-05/0.5103, allocations: 20 kB / 0.6453 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006447/0.5167, allocations: 3.535 MB / 0.6487 GB, free: 6.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.5168, allocations: 32 kB / 0.6487 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.5169, allocations: 71.98 kB / 0.6488 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.517, allocations: 84.81 kB / 0.6489 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.519, allocations: 0.6589 MB / 0.6495 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/0.5191, allocations: 135.5 kB / 0.6497 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.5212, allocations: 416.9 kB / 0.6501 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.5215, allocations: 191.9 kB / 0.6502 GB, free: 5.199 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.002106/0.5236, allocations: 1.346 MB / 0.6516 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.5239, allocations: 170.9 kB / 0.6517 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.5243, allocations: 188.9 kB / 0.6519 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.5243, allocations: 11.98 kB / 0.6519 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.5243, allocations: 4 kB / 0.6519 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.5243, allocations: 3.984 kB / 0.6519 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008036/0.5323, allocations: 3.963 MB / 0.6558 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5323, allocations: 4.75 kB / 0.6558 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.5328, allocations: 99.83 kB / 0.6559 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.5328, allocations: 12 kB / 0.6559 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.5328, allocations: 27.83 kB / 0.6559 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.647e-05/0.5328, allocations: 12 kB / 0.6559 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.5328, allocations: 11.94 kB / 0.6559 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.5344, allocations: 1.239 MB / 0.6572 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.5349, allocations: 182.6 kB / 0.6573 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.535, allocations: 15.94 kB / 0.6573 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.5355, allocations: 39.92 kB / 0.6574 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5356, allocations: 47.81 kB / 0.6574 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.5357, allocations: 31.98 kB / 0.6575 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001937/0.5376, allocations: 1.267 MB / 0.6587 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5376, allocations: 0 / 0.6587 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002449/0.54, allocations: 0.6891 MB / 0.6594 GB, free: 11.61 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.002152/0.5422, allocations: 1.845 MB / 0.6612 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003222/0.5454, allocations: 1.963 MB / 0.6631 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.5454, allocations: 0 / 0.6631 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.546, allocations: 434.9 kB / 0.6635 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.5473, allocations: 236.7 kB / 0.6637 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/0.5795, allocations: 20.89 MB / 0.6841 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.5821, allocations: 1.7 MB / 0.6858 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002288/0.5843, allocations: 0.9557 MB / 0.6867 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.5858, allocations: 1.034 MB / 0.6877 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of SimCode: time 1.803e-06/0.5858, allocations: 0 / 0.6877 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08223/0.668, allocations: 32.89 MB / 0.7198 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.34, allocations: 0 / 0.7198 GB, free: 11.35 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.700931067112833]