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.001771/0.001771, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002076/0.002076, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.535/1.535, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2268/0.2268, allocations: 46.95 MB / 361.7 MB, free: 4.277 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 63.91 kB / 0.4969 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.405, allocations: 66.05 MB / 0.5614 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01255/0.4176, allocations: 10.19 MB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.4242, allocations: 3.1 MB / 0.5744 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.4258, allocations: 59.81 kB / 0.5745 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005209/0.431, allocations: 2.648 MB / 0.577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.4347, allocations: 1.21 MB / 0.5782 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.4358, allocations: 363.2 kB / 0.5786 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.4396, allocations: 2.54 MB / 0.581 GB, free: 336 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.4425, allocations: 2.253 MB / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.444, allocations: 1.067 MB / 0.5843 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.4461, allocations: 1.488 MB / 0.5857 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005121/0.4466, allocations: 252 kB / 0.586 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.448, allocations: 0.7841 MB / 0.5868 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.4494, allocations: 1.371 MB / 0.5881 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.451, allocations: 1.553 MB / 0.5896 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005765/0.4568, allocations: 5.128 MB / 0.5946 GB, free: 2.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4568, allocations: 4 kB / 0.5946 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4568, allocations: 0 / 0.5946 GB, free: 2.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.322e-05/0.4569, allocations: 0 / 0.5946 GB, free: 2.352 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.00599/0.4629, allocations: 3.274 MB / 0.5978 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4629, allocations: 12.03 kB / 0.5978 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.78e-05/0.463, allocations: 76.86 kB / 0.5979 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000728/0.4638, allocations: 0.542 MB / 0.5984 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.469, allocations: 1.637 MB / 0.6 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.4723, allocations: 1.431 MB / 0.6014 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.4724, allocations: 180.5 kB / 0.6016 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006347/0.4731, allocations: 231.9 kB / 0.6018 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.4856, allocations: 7.11 MB / 0.6088 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.286e-05/0.4857, allocations: 15.81 kB / 0.6088 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.486, allocations: 111.8 kB / 0.6089 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.4884, allocations: 1.439 MB / 0.6103 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.5006, allocations: 5.952 MB / 0.6161 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/0.5354, allocations: 22.24 MB / 0.6378 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.5404, allocations: 1.674 MB / 0.6395 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.5416, allocations: 0.7073 MB / 0.6401 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007459/0.5491, allocations: 3.389 MB / 0.6435 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.5491, allocations: 51.08 kB / 0.6435 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.256e-06/0.5491, allocations: 0 / 0.6435 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006762/0.5559, allocations: 2.257 MB / 0.6457 GB, free: 12.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.556, allocations: 56.06 kB / 0.6458 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/0.5594, allocations: 2.06 MB / 0.6478 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.5595, allocations: 33.7 kB / 0.6478 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.5614, allocations: 2.11 MB / 0.6499 GB, free: 8.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/0.5618, allocations: 361.3 kB / 0.6502 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.5629, allocations: 0.6551 MB / 0.6509 GB, free: 7.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.5631, allocations: 361.9 kB / 0.6512 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.5646, allocations: 0.9352 MB / 0.6521 GB, free: 6.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/0.568, allocations: 2.876 MB / 0.6549 GB, free: 2.484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.5734, allocations: 4.15 MB / 0.659 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.046e-05/0.5735, allocations: 20 kB / 0.659 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007666/0.5811, allocations: 3.707 MB / 0.6626 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/0.5812, allocations: 36 kB / 0.6626 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.5813, allocations: 68 kB / 0.6627 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.5814, allocations: 92 kB / 0.6628 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.5836, allocations: 0.6939 MB / 0.6635 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001384/0.5837, allocations: 131.5 kB / 0.6636 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.586, allocations: 448.7 kB / 0.664 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/0.5865, allocations: 196 kB / 0.6642 GB, free: 7.996 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.002886/0.5893, allocations: 1.507 MB / 0.6657 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.5897, allocations: 182.8 kB / 0.6659 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.5902, allocations: 210.2 kB / 0.6661 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.5902, allocations: 12 kB / 0.6661 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5902, allocations: 0 / 0.6661 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/0.5902, allocations: 7.922 kB / 0.6661 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.6007, allocations: 4.919 MB / 0.6709 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.6008, allocations: 8 kB / 0.6709 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.6013, allocations: 119.8 kB / 0.671 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.6013, allocations: 8 kB / 0.671 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.6014, allocations: 27.98 kB / 0.671 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.6014, allocations: 11.94 kB / 0.6711 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.6014, allocations: 15.94 kB / 0.6711 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.6034, allocations: 1.419 MB / 0.6725 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.604, allocations: 222.3 kB / 0.6727 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.6043, allocations: 23.98 kB / 0.6727 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.605, allocations: 35.94 kB / 0.6727 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.6051, allocations: 75.56 kB / 0.6728 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.6052, allocations: 36 kB / 0.6728 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002692/0.6079, allocations: 1.452 MB / 0.6742 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6079, allocations: 0 / 0.6742 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003233/0.6111, allocations: 0.7746 MB / 0.675 GB, free: 12.62 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.002953/0.6141, allocations: 2.028 MB / 0.677 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003883/0.618, allocations: 2.083 MB / 0.679 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.618, allocations: 0 / 0.679 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/0.6187, allocations: 478.2 kB / 0.6795 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.6209, allocations: 277 kB / 0.6797 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/0.6635, allocations: 23.21 MB / 0.7024 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/0.6674, allocations: 2.518 MB / 0.7049 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00269/0.6701, allocations: 1.028 MB / 0.7059 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/0.6721, allocations: 1.206 MB / 0.707 GB, free: 9.004 MB / 0.545 GB Notification: Performance of SimCode: time 1.713e-06/0.6721, allocations: 0 / 0.707 GB, free: 9.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/0.9808, allocations: 39.58 MB / 0.7457 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.36, allocations: 7.547 kB / 0.7457 GB, free: 152.7 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.199471225962043]