Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.00133/0.00133, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001552/0.001552, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2206/0.2206, allocations: 44.92 MB / 358.8 MB, free: 6.254 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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.002208/0.002208, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2846, allocations: 65.47 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01185/0.2965, allocations: 9.597 MB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.3025, allocations: 2.955 MB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.3036, allocations: 55.81 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.3076, allocations: 2.029 MB / 0.5713 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.3103, allocations: 1.133 MB / 0.5724 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.3111, allocations: 291.4 kB / 0.5727 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003349/0.3144, allocations: 2.326 MB / 0.575 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.3169, allocations: 1.742 MB / 0.5767 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.3182, allocations: 0.8956 MB / 0.5775 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.3201, allocations: 1.25 MB / 0.5788 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.3206, allocations: 196 kB / 0.5789 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.322, allocations: 0.7216 MB / 0.5797 GB, free: 456 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.3234, allocations: 1.133 MB / 0.5808 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3252, allocations: 1.316 MB / 0.582 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.3304, allocations: 4.326 MB / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3304, allocations: 4 kB / 0.5863 GB, free: 9.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3304, allocations: 0 / 0.5863 GB, free: 9.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.3305, allocations: 4 kB / 0.5863 GB, free: 9.633 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.006119/0.3366, allocations: 2.866 MB / 0.5891 GB, free: 6.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3367, allocations: 8.031 kB / 0.5891 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008572/0.3375, allocations: 491 kB / 0.5896 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.3427, allocations: 1.578 MB / 0.5911 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.3458, allocations: 1.279 MB / 0.5923 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.3459, allocations: 143.8 kB / 0.5925 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/0.3464, allocations: 187.9 kB / 0.5927 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.3567, allocations: 6.246 MB / 0.5988 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/0.3567, allocations: 15.88 kB / 0.5988 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.357, allocations: 87.91 kB / 0.5989 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002091/0.3591, allocations: 1.344 MB / 0.6002 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.3692, allocations: 5.33 MB / 0.6054 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/0.3984, allocations: 19.96 MB / 0.6249 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.4027, allocations: 1.551 MB / 0.6264 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009937/0.4037, allocations: 0.6406 MB / 0.627 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006359/0.41, allocations: 3.027 MB / 0.63 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4101, allocations: 35 kB / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.726e-06/0.4101, allocations: 4 kB / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005514/0.4156, allocations: 1.99 MB / 0.6319 GB, free: 9.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.4156, allocations: 55.84 kB / 0.632 GB, free: 9.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.4186, allocations: 1.942 MB / 0.6339 GB, free: 7.824 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.4186, allocations: 37.7 kB / 0.6339 GB, free: 7.781 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.4201, allocations: 1.907 MB / 0.6358 GB, free: 5.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.4204, allocations: 337.5 kB / 0.6361 GB, free: 5.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008449/0.4213, allocations: 0.6156 MB / 0.6367 GB, free: 4.895 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4215, allocations: 357.9 kB / 0.6371 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4228, allocations: 0.8842 MB / 0.6379 GB, free: 3.652 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003051/0.4259, allocations: 2.751 MB / 0.6406 GB, free: 15.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.4307, allocations: 3.969 MB / 0.6445 GB, free: 11.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.92e-05/0.4308, allocations: 20 kB / 0.6445 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005848/0.4366, allocations: 3.535 MB / 0.648 GB, free: 7.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.4367, allocations: 36.25 kB / 0.648 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.506e-05/0.4368, allocations: 68 kB / 0.6481 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-05/0.4369, allocations: 84 kB / 0.6481 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.4388, allocations: 0.6589 MB / 0.6488 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.4389, allocations: 127.5 kB / 0.6489 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4408, allocations: 420.9 kB / 0.6493 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.4411, allocations: 199.9 kB / 0.6495 GB, free: 5.938 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.002021/0.4431, allocations: 1.342 MB / 0.6508 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.4433, allocations: 166.8 kB / 0.651 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.4437, allocations: 196.9 kB / 0.6511 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.4437, allocations: 8 kB / 0.6512 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4437, allocations: 0 / 0.6512 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4437, allocations: 4 kB / 0.6512 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/0.4502, allocations: 4.049 MB / 0.6551 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.4502, allocations: 4 kB / 0.6551 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4506, allocations: 95.89 kB / 0.6552 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.4506, allocations: 8 kB / 0.6552 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.4507, allocations: 27.86 kB / 0.6552 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.4507, allocations: 8.562 kB / 0.6553 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.4507, allocations: 11.92 kB / 0.6553 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4524, allocations: 1.251 MB / 0.6565 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.4528, allocations: 182.6 kB / 0.6567 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.453, allocations: 27.94 kB / 0.6567 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.4534, allocations: 23.97 kB / 0.6567 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.4535, allocations: 51.81 kB / 0.6568 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.4536, allocations: 31.98 kB / 0.6568 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001846/0.4554, allocations: 1.267 MB / 0.658 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4554, allocations: 0 / 0.658 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002438/0.4578, allocations: 0.6929 MB / 0.6587 GB, free: 12.27 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.002024/0.4599, allocations: 1.849 MB / 0.6605 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.4629, allocations: 1.956 MB / 0.6624 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.4629, allocations: 4 kB / 0.6624 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.4635, allocations: 436.1 kB / 0.6628 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.4647, allocations: 238.2 kB / 0.6631 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/0.4937, allocations: 20.88 MB / 0.6835 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.4963, allocations: 2.271 MB / 0.6857 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002114/0.4984, allocations: 0.9518 MB / 0.6866 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.4998, allocations: 1.042 MB / 0.6876 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of SimCode: time 1.422e-06/0.4998, allocations: 0 / 0.6876 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/0.5774, allocations: 35.25 MB / 0.722 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.7, allocations: 0 / 0.722 GB, free: 8.969 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.0362942321226]