Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001328/0.001328, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001456/0.001456, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 46.95 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01164/0.3438, allocations: 8.915 MB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.3505, allocations: 2.924 MB / 0.5721 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.3517, allocations: 63.81 kB / 0.5722 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.3566, allocations: 2.535 MB / 0.5747 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.3596, allocations: 1.218 MB / 0.5759 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.3605, allocations: 351.3 kB / 0.5762 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003704/0.3642, allocations: 2.536 MB / 0.5787 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.367, allocations: 2.249 MB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3685, allocations: 1.067 MB / 0.5819 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.3706, allocations: 1.492 MB / 0.5834 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.371, allocations: 252 kB / 0.5836 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.3722, allocations: 0.6749 MB / 0.5843 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.3735, allocations: 1.367 MB / 0.5856 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.3748, allocations: 1.138 MB / 0.5867 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005524/0.3803, allocations: 5.136 MB / 0.5917 GB, free: 4.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.3803, allocations: 4 kB / 0.5917 GB, free: 4.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3803, allocations: 0 / 0.5917 GB, free: 4.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.683e-05/0.3804, allocations: 0 / 0.5917 GB, free: 4.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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.005703/0.3861, allocations: 3.274 MB / 0.5949 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3862, allocations: 8.031 kB / 0.5949 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006988/0.3869, allocations: 0.5536 MB / 0.5955 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.3919, allocations: 1.625 MB / 0.5971 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.3956, allocations: 1.451 MB / 0.5985 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.3957, allocations: 184.7 kB / 0.5987 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/0.3962, allocations: 231.9 kB / 0.5989 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.4082, allocations: 7.106 MB / 0.6058 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.4083, allocations: 19.81 kB / 0.6058 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.4086, allocations: 111.9 kB / 0.606 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/0.4108, allocations: 1.439 MB / 0.6074 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.4221, allocations: 5.937 MB / 0.6132 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03436/0.4565, allocations: 21.16 MB / 0.6338 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.461, allocations: 1.668 MB / 0.6354 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4622, allocations: 0.7073 MB / 0.6361 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007035/0.4692, allocations: 3.225 MB / 0.6393 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4693, allocations: 43.16 kB / 0.6393 GB, free: 2.336 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.947e-06/0.4693, allocations: 0 / 0.6393 GB, free: 2.336 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006356/0.4756, allocations: 2.261 MB / 0.6415 GB, free: 72 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.4757, allocations: 64.11 kB / 0.6416 GB, free: 15.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.4788, allocations: 2.172 MB / 0.6437 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.4788, allocations: 33.7 kB / 0.6437 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.4807, allocations: 2.106 MB / 0.6458 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.481, allocations: 365.3 kB / 0.6462 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008456/0.4819, allocations: 0.6628 MB / 0.6468 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4821, allocations: 361.9 kB / 0.6471 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.4835, allocations: 0.9352 MB / 0.6481 GB, free: 9.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.4866, allocations: 2.868 MB / 0.6509 GB, free: 5.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.492, allocations: 4.16 MB / 0.6549 GB, free: 392 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.492, allocations: 20 kB / 0.6549 GB, free: 372 kB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006125/0.4981, allocations: 3.707 MB / 0.6586 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.4982, allocations: 34.81 kB / 0.6586 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.783e-05/0.4983, allocations: 68 kB / 0.6587 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.589e-05/0.4984, allocations: 96.06 kB / 0.6588 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5004, allocations: 0.6862 MB / 0.6594 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/0.5005, allocations: 135.5 kB / 0.6596 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.5024, allocations: 448.6 kB / 0.66 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.5026, allocations: 200 kB / 0.6602 GB, free: 11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.002268/0.5049, allocations: 1.503 MB / 0.6616 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.5052, allocations: 178.8 kB / 0.6618 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.5055, allocations: 214.2 kB / 0.662 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.5055, allocations: 12 kB / 0.662 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.5055, allocations: 0 / 0.662 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5055, allocations: 7.984 kB / 0.662 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008535/0.5141, allocations: 4.802 MB / 0.6667 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.5141, allocations: 8 kB / 0.6667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.5145, allocations: 123.8 kB / 0.6668 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.5145, allocations: 12 kB / 0.6669 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.5146, allocations: 20 kB / 0.6669 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/0.5146, allocations: 19.92 kB / 0.6669 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-05/0.5146, allocations: 11.94 kB / 0.6669 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.5166, allocations: 1.431 MB / 0.6683 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.517, allocations: 222.3 kB / 0.6685 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.5172, allocations: 23.98 kB / 0.6685 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.5178, allocations: 35.94 kB / 0.6686 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.5179, allocations: 71.67 kB / 0.6686 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.5179, allocations: 35.98 kB / 0.6687 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002072/0.52, allocations: 1.444 MB / 0.6701 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.52, allocations: 4 kB / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002562/0.5226, allocations: 0.7787 MB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002263/0.5248, allocations: 2.025 MB / 0.6728 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.528, allocations: 2.078 MB / 0.6749 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.528, allocations: 0 / 0.6749 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.5286, allocations: 483 kB / 0.6753 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.5299, allocations: 266.2 kB / 0.6756 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/0.5613, allocations: 23.2 MB / 0.6982 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/0.5642, allocations: 1.954 MB / 0.7001 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002377/0.5666, allocations: 1.02 MB / 0.7011 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.5682, allocations: 1.202 MB / 0.7023 GB, free: 12.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/0.5682, allocations: 0 / 0.7023 GB, free: 12.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3432/0.9114, allocations: 38.58 MB / 0.74 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.53, allocations: 6.734 kB / 0.74 GB, free: 159.4 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 16.64253309898777]