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.001661/0.001661, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002078/0.002078, allocations: 212 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2275/0.2275, allocations: 46.97 MB / 360.9 MB, free: 4.031 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.002057/0.002057, allocations: 63.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01115/0.3098, allocations: 8.916 MB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.3157, allocations: 2.928 MB / 0.5722 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.3167, allocations: 63.75 kB / 0.5722 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004837/0.3215, allocations: 2.52 MB / 0.5747 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.3242, allocations: 1.214 MB / 0.5759 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.325, allocations: 355.3 kB / 0.5762 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003078/0.3281, allocations: 2.546 MB / 0.5787 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.3306, allocations: 2.238 MB / 0.5809 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.3319, allocations: 1.067 MB / 0.5819 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.334, allocations: 1.382 MB / 0.5833 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.3346, allocations: 256 kB / 0.5835 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.3359, allocations: 0.6632 MB / 0.5842 GB, free: 12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.3372, allocations: 1.363 MB / 0.5855 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.3385, allocations: 1.138 MB / 0.5866 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.3439, allocations: 5.144 MB / 0.5916 GB, free: 4.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3439, allocations: 0 / 0.5916 GB, free: 4.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3439, allocations: 0 / 0.5916 GB, free: 4.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.205e-05/0.344, allocations: 7.875 kB / 0.5916 GB, free: 4.312 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.006003/0.35, allocations: 3.274 MB / 0.5948 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.35, allocations: 8.031 kB / 0.5948 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008377/0.3509, allocations: 0.542 MB / 0.5954 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.356, allocations: 1.633 MB / 0.597 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.3597, allocations: 1.443 MB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3599, allocations: 184.7 kB / 0.5985 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.3604, allocations: 235.8 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.3722, allocations: 7.106 MB / 0.6057 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.699e-05/0.3722, allocations: 15.88 kB / 0.6057 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004419/0.3727, allocations: 107.9 kB / 0.6058 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002299/0.375, allocations: 1.447 MB / 0.6072 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.3869, allocations: 5.937 MB / 0.613 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03392/0.4208, allocations: 21.15 MB / 0.6337 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004629/0.4254, allocations: 1.669 MB / 0.6353 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.4265, allocations: 0.6995 MB / 0.636 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007458/0.434, allocations: 3.241 MB / 0.6392 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.434, allocations: 39.22 kB / 0.6392 GB, free: 2.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.647e-06/0.4341, allocations: 0 / 0.6392 GB, free: 2.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006413/0.4405, allocations: 2.261 MB / 0.6414 GB, free: 248 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4405, allocations: 60.06 kB / 0.6415 GB, free: 176 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/0.4441, allocations: 2.172 MB / 0.6436 GB, free: 14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.4441, allocations: 37.7 kB / 0.6436 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.4458, allocations: 2.11 MB / 0.6457 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.4462, allocations: 365.2 kB / 0.646 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009164/0.4471, allocations: 0.6512 MB / 0.6467 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4473, allocations: 369.8 kB / 0.647 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.4488, allocations: 0.9313 MB / 0.6479 GB, free: 9.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.4517, allocations: 2.868 MB / 0.6507 GB, free: 5.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004955/0.4567, allocations: 4.16 MB / 0.6548 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.796e-05/0.4568, allocations: 23.94 kB / 0.6548 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006293/0.4631, allocations: 3.702 MB / 0.6584 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.4631, allocations: 40.88 kB / 0.6585 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-05/0.4632, allocations: 68 kB / 0.6585 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.4633, allocations: 88 kB / 0.6586 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.4653, allocations: 0.694 MB / 0.6593 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/0.4655, allocations: 135.4 kB / 0.6594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.4674, allocations: 444.7 kB / 0.6599 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.4677, allocations: 196 kB / 0.66 GB, free: 11.18 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.002464/0.4701, allocations: 1.499 MB / 0.6615 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.4705, allocations: 178.8 kB / 0.6617 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.4709, allocations: 210.2 kB / 0.6619 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.4709, allocations: 15.98 kB / 0.6619 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4709, allocations: 4 kB / 0.6619 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4709, allocations: 11.86 kB / 0.6619 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.4813, allocations: 4.806 MB / 0.6666 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.4813, allocations: 8 kB / 0.6666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.4818, allocations: 119.8 kB / 0.6667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/0.4818, allocations: 8 kB / 0.6667 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.4819, allocations: 27.98 kB / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/0.4819, allocations: 11.94 kB / 0.6668 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.4819, allocations: 8 kB / 0.6668 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.4839, allocations: 1.427 MB / 0.6682 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.4845, allocations: 234.3 kB / 0.6684 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.4848, allocations: 20 kB / 0.6684 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.4854, allocations: 35.92 kB / 0.6684 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4855, allocations: 71.67 kB / 0.6685 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.4856, allocations: 35.98 kB / 0.6685 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002382/0.488, allocations: 1.448 MB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.488, allocations: 0 / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002796/0.4908, allocations: 0.7786 MB / 0.6707 GB, free: 15.91 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.00242/0.4932, allocations: 2.04 MB / 0.6727 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.4967, allocations: 2.067 MB / 0.6747 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.4967, allocations: 4 kB / 0.6747 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.4975, allocations: 483 kB / 0.6752 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.4992, allocations: 260.9 kB / 0.6754 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03817/0.5373, allocations: 23.21 MB / 0.6981 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/0.5409, allocations: 1.946 MB / 0.7 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002465/0.5434, allocations: 1.028 MB / 0.701 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/0.5453, allocations: 1.21 MB / 0.7022 GB, free: 12.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.5453, allocations: 0 / 0.7022 GB, free: 12.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3325/0.8779, allocations: 37.2 MB / 0.7385 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.82, allocations: 11.91 kB / 0.7385 GB, free: 161.5 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: 17.090862711891532]