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.0016/0.0016, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001941/0.001941, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.538/1.538, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2485/0.2485, allocations: 46.91 MB / 357.7 MB, free: 10.28 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.002795/0.002795, allocations: 75.88 kB / 0.4916 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1348, allocations: 66.04 MB / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01323/0.148, allocations: 10.16 MB / 0.5661 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008153/0.1562, allocations: 3.084 MB / 0.5691 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.1582, allocations: 59.81 kB / 0.5691 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005864/0.1641, allocations: 2.64 MB / 0.5717 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.1679, allocations: 1.199 MB / 0.5729 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1691, allocations: 351.3 kB / 0.5732 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.1733, allocations: 2.549 MB / 0.5757 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.1767, allocations: 2.488 MB / 0.5781 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.1786, allocations: 1.067 MB / 0.5792 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.181, allocations: 1.491 MB / 0.5806 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006505/0.1816, allocations: 252 kB / 0.5809 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1832, allocations: 0.7763 MB / 0.5816 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001591/0.1848, allocations: 1.367 MB / 0.583 GB, free: 10 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.1869, allocations: 1.553 MB / 0.5845 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006712/0.1936, allocations: 5.132 MB / 0.5895 GB, free: 3.285 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1936, allocations: 0 / 0.5895 GB, free: 3.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1936, allocations: 0 / 0.5895 GB, free: 3.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.1938, allocations: 0 / 0.5895 GB, free: 3.285 MB / 446.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.2642/0.4579, allocations: 3.351 MB / 0.5928 GB, free: 33.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.458, allocations: 10.16 kB / 0.5928 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001217/0.4581, allocations: 76.45 kB / 0.5929 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/0.4594, allocations: 0.5438 MB / 0.5934 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/0.4651, allocations: 1.625 MB / 0.595 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.4683, allocations: 1.504 MB / 0.5964 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.4685, allocations: 179.5 kB / 0.5966 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007756/0.4693, allocations: 231 kB / 0.5968 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.4837, allocations: 7.114 MB / 0.6038 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.4838, allocations: 13.34 kB / 0.6038 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004933/0.4843, allocations: 109.8 kB / 0.6039 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.4871, allocations: 1.446 MB / 0.6053 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.4998, allocations: 5.939 MB / 0.6111 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02434/0.5242, allocations: 22.35 MB / 0.6329 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/0.528, allocations: 2.126 MB / 0.635 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.5288, allocations: 0.7034 MB / 0.6357 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005521/0.5343, allocations: 3.861 MB / 0.6395 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5343, allocations: 35.12 kB / 0.6395 GB, free: 2.367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.176e-06/0.5343, allocations: 0 / 0.6395 GB, free: 2.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005686/0.54, allocations: 2.263 MB / 0.6417 GB, free: 104 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.54, allocations: 59.97 kB / 0.6418 GB, free: 32 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.5432, allocations: 2.06 MB / 0.6438 GB, free: 13.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.5433, allocations: 37.7 kB / 0.6438 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.5449, allocations: 2.11 MB / 0.6459 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.5453, allocations: 365.2 kB / 0.6462 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008633/0.5462, allocations: 0.6512 MB / 0.6469 GB, free: 10.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5464, allocations: 361.9 kB / 0.6472 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.5478, allocations: 0.9408 MB / 0.6481 GB, free: 9.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/0.551, allocations: 2.87 MB / 0.6509 GB, free: 5.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005632/0.5566, allocations: 4.151 MB / 0.655 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-05/0.5567, allocations: 16 kB / 0.655 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007004/0.5637, allocations: 3.714 MB / 0.6586 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.5637, allocations: 32 kB / 0.6587 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.75e-05/0.5638, allocations: 72 kB / 0.6587 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.5639, allocations: 88 kB / 0.6588 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.5661, allocations: 0.6862 MB / 0.6595 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001269/0.5662, allocations: 135.4 kB / 0.6596 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.5683, allocations: 444.6 kB / 0.66 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.5686, allocations: 205.2 kB / 0.6602 GB, free: 11.16 MB / 478.1 MB 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.00256/0.5711, allocations: 1.507 MB / 0.6617 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.5715, allocations: 178.8 kB / 0.6619 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.5719, allocations: 210.2 kB / 0.6621 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.572, allocations: 8 kB / 0.6621 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.572, allocations: 0 / 0.6621 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.572, allocations: 11.98 kB / 0.6621 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009022/0.581, allocations: 4.936 MB / 0.6669 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.581, allocations: 4 kB / 0.6669 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.5815, allocations: 119.8 kB / 0.667 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.5816, allocations: 19.88 kB / 0.6671 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.5816, allocations: 20 kB / 0.6671 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.5816, allocations: 20.52 kB / 0.6671 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.5816, allocations: 11.94 kB / 0.6671 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.584, allocations: 1.419 MB / 0.6685 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.5846, allocations: 299.4 kB / 0.6688 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.5848, allocations: 20 kB / 0.6688 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.5854, allocations: 39.92 kB / 0.6688 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5855, allocations: 64.5 kB / 0.6689 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.5856, allocations: 35.94 kB / 0.6689 GB, free: 1.922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002623/0.5882, allocations: 1.448 MB / 0.6703 GB, free: 464 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5882, allocations: 0 / 0.6703 GB, free: 464 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.003356/0.5915, allocations: 0.7825 MB / 0.6711 GB, free: 15.66 MB / 494.1 MB 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.002919/0.5945, allocations: 2.025 MB / 0.6731 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.5984, allocations: 2.086 MB / 0.6751 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.5984, allocations: 0 / 0.6751 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.5992, allocations: 483.1 kB / 0.6756 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6009, allocations: 277.6 kB / 0.6758 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/0.6404, allocations: 23.21 MB / 0.6985 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/0.6439, allocations: 2.514 MB / 0.701 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002498/0.6464, allocations: 1.027 MB / 0.702 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/0.6486, allocations: 1.21 MB / 0.7031 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of SimCode: time 1.904e-06/0.6486, allocations: 0 / 0.7031 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07171/0.7203, allocations: 37 MB / 0.7393 GB, free: 7.195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.02, allocations: 15.97 kB / 0.7393 GB, free: 7.18 MB / 0.545 GB " [Timeout remaining time 646] (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: 17.861228316964116]