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.001376/0.001376, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001544/0.001544, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2173/0.2173, allocations: 44.94 MB / 359.6 MB, free: 6.035 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",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.00202/0.00202, allocations: 67.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3051, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01124/0.3163, allocations: 8.349 MB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.3223, allocations: 2.772 MB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.3232, allocations: 55.81 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.3271, allocations: 1.943 MB / 0.5705 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.33, allocations: 1.14 MB / 0.5716 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.3307, allocations: 283.5 kB / 0.5719 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.334, allocations: 2.337 MB / 0.5742 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.3362, allocations: 1.738 MB / 0.5759 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.3373, allocations: 0.8878 MB / 0.5768 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.339, allocations: 1.25 MB / 0.578 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.3394, allocations: 192 kB / 0.5782 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.3406, allocations: 0.6201 MB / 0.5788 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.3418, allocations: 1.137 MB / 0.5799 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.3429, allocations: 0.947 MB / 0.5808 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.3477, allocations: 4.342 MB / 0.585 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3477, allocations: 0 / 0.585 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3477, allocations: 0 / 0.585 GB, free: 11.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.555e-05/0.3478, allocations: 4 kB / 0.585 GB, free: 11.4 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.00517/0.3529, allocations: 2.859 MB / 0.5878 GB, free: 8.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.353, allocations: 8.031 kB / 0.5878 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.161e-05/0.3531, allocations: 75.81 kB / 0.5879 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006562/0.3537, allocations: 483.1 kB / 0.5884 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.359, allocations: 1.586 MB / 0.5899 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.3618, allocations: 1.279 MB / 0.5912 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3619, allocations: 147.6 kB / 0.5913 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/0.3624, allocations: 187.9 kB / 0.5915 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.3724, allocations: 6.242 MB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/0.3725, allocations: 15.86 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.3727, allocations: 87.91 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.3749, allocations: 1.348 MB / 0.599 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3851, allocations: 5.334 MB / 0.6042 GB, free: 7.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02786/0.4129, allocations: 19.02 MB / 0.6228 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.4173, allocations: 1.549 MB / 0.6243 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.4182, allocations: 0.6367 MB / 0.6249 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006022/0.4243, allocations: 2.899 MB / 0.6278 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4243, allocations: 38.98 kB / 0.6278 GB, free: 14.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.986e-06/0.4243, allocations: 0 / 0.6278 GB, free: 14.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00548/0.4298, allocations: 1.982 MB / 0.6297 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.4298, allocations: 55.84 kB / 0.6298 GB, free: 12.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.4326, allocations: 1.938 MB / 0.6317 GB, free: 10.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.4326, allocations: 41.64 kB / 0.6317 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.4341, allocations: 1.899 MB / 0.6336 GB, free: 8.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.4344, allocations: 337.5 kB / 0.6339 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008243/0.4353, allocations: 0.6234 MB / 0.6345 GB, free: 7.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.4355, allocations: 361.9 kB / 0.6349 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4368, allocations: 0.8842 MB / 0.6357 GB, free: 6.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.4398, allocations: 2.751 MB / 0.6384 GB, free: 2.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004834/0.4446, allocations: 3.966 MB / 0.6423 GB, free: 13.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-05/0.4447, allocations: 20 kB / 0.6423 GB, free: 13.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005587/0.4503, allocations: 3.527 MB / 0.6457 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.4503, allocations: 36 kB / 0.6458 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.513e-05/0.4504, allocations: 67.94 kB / 0.6458 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.511e-05/0.4505, allocations: 92.69 kB / 0.6459 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.4524, allocations: 0.655 MB / 0.6466 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001157/0.4525, allocations: 135.5 kB / 0.6467 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.4543, allocations: 424.8 kB / 0.6471 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.4545, allocations: 192 kB / 0.6473 GB, free: 8.711 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.001952/0.4565, allocations: 1.338 MB / 0.6486 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.4567, allocations: 162.9 kB / 0.6487 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.4571, allocations: 204.9 kB / 0.6489 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.4571, allocations: 8 kB / 0.6489 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4571, allocations: 0 / 0.6489 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.4571, allocations: 7.922 kB / 0.649 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/0.4637, allocations: 3.951 MB / 0.6528 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.4637, allocations: 8 kB / 0.6528 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.4641, allocations: 100.6 kB / 0.6529 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.4641, allocations: 11.94 kB / 0.6529 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.4642, allocations: 24 kB / 0.653 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.4642, allocations: 8 kB / 0.653 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.4642, allocations: 11.94 kB / 0.653 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4658, allocations: 1.243 MB / 0.6542 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.4661, allocations: 174.6 kB / 0.6544 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.4663, allocations: 27.92 kB / 0.6544 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.4668, allocations: 23.98 kB / 0.6544 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4669, allocations: 55.8 kB / 0.6545 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.467, allocations: 28 kB / 0.6545 GB, free: 1.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002046/0.469, allocations: 1.271 MB / 0.6557 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.469, allocations: 0 / 0.6557 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002832/0.4719, allocations: 0.693 MB / 0.6564 GB, free: 15.14 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.002078/0.474, allocations: 1.849 MB / 0.6582 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003163/0.4771, allocations: 1.959 MB / 0.6601 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4771, allocations: 4 kB / 0.6601 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.4777, allocations: 430.7 kB / 0.6605 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4789, allocations: 227.7 kB / 0.6607 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0312/0.5101, allocations: 20.89 MB / 0.6811 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.5132, allocations: 1.697 MB / 0.6828 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00235/0.5155, allocations: 0.9557 MB / 0.6837 GB, free: 492 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/0.5173, allocations: 1.038 MB / 0.6848 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of SimCode: time 1.803e-06/0.5173, allocations: 0 / 0.6848 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07166/0.589, allocations: 34.01 MB / 0.718 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/15.89, allocations: 10.88 kB / 0.718 GB, free: 13.85 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.58274562691804]