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.001758/0.001758, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.001423/0.001423, allocations: 208.4 kB / 24.52 MB, free: 4.141 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.961 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.2228/0.2228, allocations: 44.92 MB / 359.6 MB, free: 6.262 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.002026/0.002026, allocations: 63.89 kB / 0.4938 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01191/0.3238, allocations: 9.585 MB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005874/0.3296, allocations: 2.959 MB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/0.3305, allocations: 55.81 kB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.3342, allocations: 2.029 MB / 0.5721 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.3366, allocations: 1.14 MB / 0.5732 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.3373, allocations: 291.4 kB / 0.5735 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.3406, allocations: 2.329 MB / 0.5757 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.3427, allocations: 1.742 MB / 0.5774 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.3437, allocations: 0.8839 MB / 0.5783 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3454, allocations: 1.254 MB / 0.5795 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003916/0.3458, allocations: 196 kB / 0.5797 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.347, allocations: 0.7216 MB / 0.5804 GB, free: 460 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.3481, allocations: 1.145 MB / 0.5815 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.3494, allocations: 1.308 MB / 0.5828 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005055/0.3545, allocations: 4.326 MB / 0.587 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3545, allocations: 3.938 kB / 0.587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3545, allocations: 0 / 0.587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.3546, allocations: 0 / 0.587 GB, free: 9.637 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.005394/0.36, allocations: 2.866 MB / 0.5898 GB, free: 6.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.36, allocations: 8.031 kB / 0.5898 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.425e-05/0.3601, allocations: 63.94 kB / 0.5899 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006278/0.3607, allocations: 487.1 kB / 0.5904 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/0.366, allocations: 1.578 MB / 0.5919 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.3688, allocations: 1.275 MB / 0.5932 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3689, allocations: 155.6 kB / 0.5933 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.3693, allocations: 183.9 kB / 0.5935 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00957/0.3789, allocations: 6.242 MB / 0.5996 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.3789, allocations: 11.88 kB / 0.5996 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.3792, allocations: 87.91 kB / 0.5997 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.3814, allocations: 1.344 MB / 0.601 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009905/0.3913, allocations: 5.334 MB / 0.6062 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02978/0.421, allocations: 19.96 MB / 0.6257 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.4254, allocations: 1.556 MB / 0.6272 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.4265, allocations: 0.6446 MB / 0.6278 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006177/0.4327, allocations: 3.02 MB / 0.6308 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.4327, allocations: 50.92 kB / 0.6308 GB, free: 11.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.4327, allocations: 0 / 0.6308 GB, free: 11.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005533/0.4383, allocations: 1.975 MB / 0.6328 GB, free: 9.781 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4383, allocations: 55.84 kB / 0.6328 GB, free: 9.715 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.441, allocations: 1.942 MB / 0.6347 GB, free: 7.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.4411, allocations: 37.7 kB / 0.6348 GB, free: 7.727 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.4425, allocations: 1.907 MB / 0.6366 GB, free: 5.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.4428, allocations: 337.5 kB / 0.6369 GB, free: 5.465 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008064/0.4436, allocations: 0.6195 MB / 0.6375 GB, free: 4.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4438, allocations: 361.9 kB / 0.6379 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.4451, allocations: 0.8842 MB / 0.6388 GB, free: 3.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.4481, allocations: 2.755 MB / 0.6414 GB, free: 15.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005168/0.4532, allocations: 3.965 MB / 0.6453 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.818e-05/0.4533, allocations: 20 kB / 0.6453 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00618/0.4595, allocations: 3.528 MB / 0.6488 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.4595, allocations: 36.06 kB / 0.6488 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/0.4596, allocations: 68 kB / 0.6489 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.569e-05/0.4597, allocations: 88 kB / 0.649 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.4616, allocations: 0.6589 MB / 0.6496 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001107/0.4617, allocations: 131.5 kB / 0.6497 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.4635, allocations: 432.7 kB / 0.6501 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.4638, allocations: 196 kB / 0.6503 GB, free: 5.867 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.001884/0.4657, allocations: 1.342 MB / 0.6516 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.4659, allocations: 162.9 kB / 0.6518 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.4663, allocations: 192.9 kB / 0.652 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.4663, allocations: 12 kB / 0.652 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4663, allocations: 0 / 0.652 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4663, allocations: 7.922 kB / 0.652 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006617/0.4729, allocations: 4.041 MB / 0.6559 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4729, allocations: 8 kB / 0.656 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.4733, allocations: 99.81 kB / 0.656 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.4734, allocations: 11.94 kB / 0.6561 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.4734, allocations: 20 kB / 0.6561 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.4734, allocations: 12.53 kB / 0.6561 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4734, allocations: 8 kB / 0.6561 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.4749, allocations: 1.243 MB / 0.6573 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.4753, allocations: 182.6 kB / 0.6575 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.4754, allocations: 19.92 kB / 0.6575 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.4759, allocations: 23.98 kB / 0.6575 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.476, allocations: 51.81 kB / 0.6576 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.4761, allocations: 35.98 kB / 0.6576 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001761/0.4778, allocations: 1.267 MB / 0.6588 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4778, allocations: 0 / 0.6588 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002363/0.4802, allocations: 0.6929 MB / 0.6595 GB, free: 12.21 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.002074/0.4823, allocations: 1.853 MB / 0.6613 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.4855, allocations: 1.956 MB / 0.6632 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4855, allocations: 4.438 kB / 0.6632 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.4861, allocations: 431.9 kB / 0.6637 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.4874, allocations: 242.7 kB / 0.6639 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02911/0.5165, allocations: 20.89 MB / 0.6843 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/0.5192, allocations: 2.271 MB / 0.6865 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002107/0.5213, allocations: 0.9518 MB / 0.6874 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.5227, allocations: 1.038 MB / 0.6884 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.5227, allocations: 0 / 0.6884 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/0.5901, allocations: 35.26 MB / 0.7229 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/15.81, allocations: 10.58 kB / 0.7229 GB, free: 8.891 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.52849375200458]