Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 207.6 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 79.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3649, allocations: 66.09 MB / 0.5615 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01283/0.3778, allocations: 10.17 MB / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007388/0.3852, allocations: 3.111 MB / 0.5745 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.3872, allocations: 63.81 kB / 0.5745 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005504/0.3927, allocations: 2.652 MB / 0.5771 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.3965, allocations: 1.207 MB / 0.5783 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3977, allocations: 355.3 kB / 0.5786 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.402, allocations: 2.543 MB / 0.5811 GB, free: 24 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/0.4052, allocations: 2.253 MB / 0.5833 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.4072, allocations: 1.071 MB / 0.5844 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.4097, allocations: 1.484 MB / 0.5858 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007409/0.4105, allocations: 252 kB / 0.5861 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.4121, allocations: 0.7841 MB / 0.5868 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.4138, allocations: 1.371 MB / 0.5882 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.4163, allocations: 1.553 MB / 0.5897 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.423, allocations: 5.128 MB / 0.5947 GB, free: 2.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.423, allocations: 0 / 0.5947 GB, free: 2.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.423, allocations: 4 kB / 0.5947 GB, free: 2.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.4231, allocations: 0 / 0.5947 GB, free: 2.047 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.006892/0.43, allocations: 3.274 MB / 0.5979 GB, free: 14.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4301, allocations: 8.031 kB / 0.5979 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001035/0.4302, allocations: 80.86 kB / 0.598 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.4312, allocations: 0.5458 MB / 0.5985 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.4365, allocations: 1.633 MB / 0.6001 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.4401, allocations: 1.439 MB / 0.6015 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.4402, allocations: 184.5 kB / 0.6017 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007436/0.441, allocations: 227.9 kB / 0.6019 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.4541, allocations: 7.11 MB / 0.6088 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.4542, allocations: 11.88 kB / 0.6089 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/0.4546, allocations: 103.9 kB / 0.609 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/0.457, allocations: 1.451 MB / 0.6104 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.4697, allocations: 5.948 MB / 0.6162 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03578/0.5055, allocations: 22.24 MB / 0.6379 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/0.5102, allocations: 1.669 MB / 0.6395 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.5113, allocations: 0.7057 MB / 0.6402 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007147/0.5184, allocations: 3.4 MB / 0.6435 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5185, allocations: 43.22 kB / 0.6436 GB, free: 14.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 4.127e-06/0.5185, allocations: 0 / 0.6436 GB, free: 14.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006533/0.525, allocations: 2.253 MB / 0.6458 GB, free: 12.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5251, allocations: 64.06 kB / 0.6458 GB, free: 12.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.5281, allocations: 2.056 MB / 0.6479 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.5283, allocations: 41.69 kB / 0.6479 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.53, allocations: 2.102 MB / 0.6499 GB, free: 8.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.5304, allocations: 365.3 kB / 0.6503 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/0.5313, allocations: 0.6512 MB / 0.6509 GB, free: 7.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.5315, allocations: 373.8 kB / 0.6513 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.5329, allocations: 0.9313 MB / 0.6522 GB, free: 6.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.536, allocations: 2.872 MB / 0.655 GB, free: 2.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/0.541, allocations: 4.151 MB / 0.6591 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.469e-05/0.541, allocations: 20 kB / 0.6591 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006887/0.5479, allocations: 3.71 MB / 0.6627 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.548, allocations: 32 kB / 0.6627 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.779e-05/0.548, allocations: 68.91 kB / 0.6628 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.5482, allocations: 92 kB / 0.6629 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.5503, allocations: 0.6901 MB / 0.6636 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001234/0.5505, allocations: 139.4 kB / 0.6637 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.5529, allocations: 444.5 kB / 0.6641 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/0.5533, allocations: 200 kB / 0.6643 GB, free: 7.676 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.002964/0.5563, allocations: 1.507 MB / 0.6658 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.5566, allocations: 178.8 kB / 0.6659 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.5571, allocations: 214.2 kB / 0.6661 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.5571, allocations: 8 kB / 0.6662 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.5571, allocations: 0 / 0.6662 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5571, allocations: 3.984 kB / 0.6662 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.5679, allocations: 4.919 MB / 0.671 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.568, allocations: 8 kB / 0.671 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.5685, allocations: 119.9 kB / 0.6711 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.5685, allocations: 15.94 kB / 0.6711 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.5686, allocations: 23.98 kB / 0.6711 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-05/0.5686, allocations: 15.94 kB / 0.6711 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.5686, allocations: 11.94 kB / 0.6711 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.5708, allocations: 1.423 MB / 0.6725 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.5714, allocations: 226.3 kB / 0.6728 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.5716, allocations: 23.97 kB / 0.6728 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.5722, allocations: 35.92 kB / 0.6728 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5723, allocations: 71.73 kB / 0.6729 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.5724, allocations: 32 kB / 0.6729 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002459/0.5748, allocations: 1.448 MB / 0.6743 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5748, allocations: 0 / 0.6743 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003379/0.5782, allocations: 0.7785 MB / 0.6751 GB, free: 12.31 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.002476/0.5807, allocations: 2.032 MB / 0.6771 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00376/0.5844, allocations: 2.079 MB / 0.6791 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5844, allocations: 0.8125 kB / 0.6791 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.5851, allocations: 484.1 kB / 0.6796 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.5867, allocations: 284.5 kB / 0.6798 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03895/0.6256, allocations: 23.21 MB / 0.7025 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/0.6288, allocations: 2.506 MB / 0.7049 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002445/0.6313, allocations: 1.031 MB / 0.7059 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/0.6331, allocations: 1.206 MB / 0.7071 GB, free: 8.684 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.6331, allocations: 0 / 0.7071 GB, free: 8.684 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3216/0.9548, allocations: 39.57 MB / 0.7458 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.96, allocations: 6.406 kB / 0.7458 GB, free: 154.7 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 20.753013091045432]