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.001948/0.001948, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.002403/0.002403, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 8.188 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.2366/0.2366, allocations: 46.93 MB / 360.8 MB, free: 4.223 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 79.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3318, allocations: 66.08 MB / 0.5607 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01356/0.3454, allocations: 10.19 MB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00732/0.3527, allocations: 3.111 MB / 0.5737 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.3543, allocations: 59.81 kB / 0.5738 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005491/0.3598, allocations: 2.64 MB / 0.5763 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.3632, allocations: 1.226 MB / 0.5775 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3644, allocations: 343.4 kB / 0.5779 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.3688, allocations: 2.544 MB / 0.5804 GB, free: 152 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003825/0.3726, allocations: 2.257 MB / 0.5826 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.3748, allocations: 1.063 MB / 0.5836 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.3777, allocations: 1.488 MB / 0.5851 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009769/0.3787, allocations: 252 kB / 0.5853 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.381, allocations: 0.788 MB / 0.5861 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.3832, allocations: 1.36 MB / 0.5874 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003036/0.3862, allocations: 1.561 MB / 0.5889 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007734/0.394, allocations: 5.124 MB / 0.5939 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.394, allocations: 0 / 0.5939 GB, free: 2.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.394, allocations: 0 / 0.5939 GB, free: 2.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001956/0.3942, allocations: 0 / 0.5939 GB, free: 2.18 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.00823/0.4024, allocations: 3.278 MB / 0.5971 GB, free: 14.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4025, allocations: 16.03 kB / 0.5971 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001353/0.4038, allocations: 0.5459 MB / 0.5977 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00543/0.4092, allocations: 1.621 MB / 0.5992 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/0.4134, allocations: 1.439 MB / 0.6007 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.4136, allocations: 180.7 kB / 0.6008 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008721/0.4145, allocations: 231.9 kB / 0.601 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.4284, allocations: 7.114 MB / 0.608 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.916e-05/0.4284, allocations: 15.88 kB / 0.608 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.4288, allocations: 103.9 kB / 0.6081 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.4312, allocations: 1.447 MB / 0.6095 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.4434, allocations: 5.952 MB / 0.6153 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/0.4791, allocations: 22.25 MB / 0.6371 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/0.4838, allocations: 1.673 MB / 0.6387 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4851, allocations: 0.7018 MB / 0.6394 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00774/0.4928, allocations: 3.4 MB / 0.6427 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.4928, allocations: 39.22 kB / 0.6427 GB, free: 15.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.987e-06/0.4928, allocations: 0 / 0.6427 GB, free: 15.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006881/0.4997, allocations: 2.249 MB / 0.6449 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4998, allocations: 64.06 kB / 0.645 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.5036, allocations: 2.056 MB / 0.647 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.5038, allocations: 37.7 kB / 0.647 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/0.5058, allocations: 2.118 MB / 0.6491 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.5063, allocations: 357.3 kB / 0.6494 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.5075, allocations: 0.6512 MB / 0.6501 GB, free: 7.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000304/0.5078, allocations: 361.9 kB / 0.6504 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.5094, allocations: 0.9352 MB / 0.6513 GB, free: 6.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/0.5137, allocations: 2.868 MB / 0.6541 GB, free: 2.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/0.52, allocations: 4.158 MB / 0.6582 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.155e-05/0.52, allocations: 20 kB / 0.6582 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.00779/0.5278, allocations: 3.714 MB / 0.6618 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/0.5279, allocations: 36.94 kB / 0.6619 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.528, allocations: 75.92 kB / 0.662 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.5282, allocations: 91.94 kB / 0.662 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.5306, allocations: 0.6901 MB / 0.6627 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001379/0.5307, allocations: 131.5 kB / 0.6628 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.5332, allocations: 444.6 kB / 0.6633 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004952/0.5337, allocations: 192 kB / 0.6635 GB, free: 7.887 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.003096/0.5368, allocations: 1.507 MB / 0.6649 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.5371, allocations: 174.8 kB / 0.6651 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.5376, allocations: 214.2 kB / 0.6653 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-05/0.5377, allocations: 19.97 kB / 0.6653 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.5377, allocations: 0 / 0.6653 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5377, allocations: 0 / 0.6653 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.5482, allocations: 4.916 MB / 0.6701 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.5482, allocations: 8 kB / 0.6701 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.5487, allocations: 119.9 kB / 0.6702 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.5488, allocations: 12 kB / 0.6702 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.5488, allocations: 24 kB / 0.6703 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.75e-05/0.5488, allocations: 23.86 kB / 0.6703 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.5489, allocations: 11.94 kB / 0.6703 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.5509, allocations: 1.423 MB / 0.6717 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/0.5515, allocations: 222.3 kB / 0.6719 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.5517, allocations: 20 kB / 0.6719 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.5524, allocations: 39.91 kB / 0.672 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.5525, allocations: 75.67 kB / 0.672 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.5526, allocations: 39.89 kB / 0.6721 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00271/0.5553, allocations: 1.444 MB / 0.6735 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5553, allocations: 0 / 0.6735 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00349/0.5588, allocations: 0.7824 MB / 0.6742 GB, free: 12.51 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.002636/0.5614, allocations: 2.032 MB / 0.6762 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.5651, allocations: 2.071 MB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.5651, allocations: 0.8125 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007555/0.5659, allocations: 488.1 kB / 0.6787 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5676, allocations: 276.1 kB / 0.679 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/0.6083, allocations: 23.2 MB / 0.7016 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003764/0.6121, allocations: 2.518 MB / 0.7041 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002657/0.6148, allocations: 1.024 MB / 0.7051 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/0.6169, allocations: 1.202 MB / 0.7063 GB, free: 8.898 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.6169, allocations: 0 / 0.7063 GB, free: 8.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/0.9873, allocations: 39.54 MB / 0.7449 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.56, allocations: 4.062 kB / 0.7449 GB, free: 152.7 MB / 0.5606 GB " [Timeout remaining time 642] (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.85116842808202]