Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001348/0.001348, allocations: 114 kB / 20.43 MB, free: 1.457 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.00147/0.00147, allocations: 214 kB / 23.74 MB, free: 4.672 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2233/0.2233, allocations: 46.91 MB / 360.8 MB, free: 4.172 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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003799/0.003799, allocations: 79.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3384, allocations: 66.07 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01237/0.3508, allocations: 9.596 MB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006676/0.3575, allocations: 2.955 MB / 0.573 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.3587, allocations: 55.81 kB / 0.573 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.3626, allocations: 2.033 MB / 0.575 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.3652, allocations: 1.14 MB / 0.5761 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.3659, allocations: 283.4 kB / 0.5764 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.369, allocations: 2.333 MB / 0.5787 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.3713, allocations: 1.742 MB / 0.5804 GB, free: 36 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.3725, allocations: 0.8878 MB / 0.5812 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.3742, allocations: 1.25 MB / 0.5825 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.3746, allocations: 196 kB / 0.5827 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.3758, allocations: 0.7216 MB / 0.5834 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.3769, allocations: 1.145 MB / 0.5845 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.3782, allocations: 1.312 MB / 0.5858 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.383, allocations: 4.33 MB / 0.59 GB, free: 6.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.383, allocations: 4 kB / 0.59 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.383, allocations: 0 / 0.59 GB, free: 6.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.354e-05/0.3831, allocations: 0 / 0.59 GB, free: 6.156 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005065/0.3881, allocations: 2.862 MB / 0.5928 GB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3882, allocations: 8.031 kB / 0.5928 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000599/0.3888, allocations: 487.1 kB / 0.5933 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/0.3939, allocations: 1.574 MB / 0.5948 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.3967, allocations: 1.282 MB / 0.596 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.3969, allocations: 147.8 kB / 0.5962 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.3972, allocations: 187.9 kB / 0.5964 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4073, allocations: 6.246 MB / 0.6025 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.4073, allocations: 15.88 kB / 0.6025 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.4076, allocations: 87.91 kB / 0.6026 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.4097, allocations: 1.344 MB / 0.6039 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.42, allocations: 5.33 MB / 0.6091 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.4495, allocations: 19.99 MB / 0.6286 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.4537, allocations: 1.5 MB / 0.6301 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.4547, allocations: 0.6351 MB / 0.6307 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006741/0.4614, allocations: 3.152 MB / 0.6338 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.4615, allocations: 43 kB / 0.6338 GB, free: 8.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.316e-06/0.4615, allocations: 0 / 0.6338 GB, free: 8.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005611/0.4671, allocations: 1.986 MB / 0.6358 GB, free: 6.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4671, allocations: 63.84 kB / 0.6358 GB, free: 6.195 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.4701, allocations: 1.945 MB / 0.6377 GB, free: 4.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.4701, allocations: 37.69 kB / 0.6377 GB, free: 4.203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.4717, allocations: 1.903 MB / 0.6396 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.472, allocations: 337.5 kB / 0.6399 GB, free: 1.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008561/0.4729, allocations: 0.6156 MB / 0.6405 GB, free: 1.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.473, allocations: 357.9 kB / 0.6409 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.4745, allocations: 0.8842 MB / 0.6417 GB, free: 80 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003051/0.4776, allocations: 2.751 MB / 0.6444 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004816/0.4824, allocations: 3.972 MB / 0.6483 GB, free: 7.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-05/0.4824, allocations: 20 kB / 0.6483 GB, free: 7.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005889/0.4883, allocations: 3.531 MB / 0.6518 GB, free: 3.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.4884, allocations: 36 kB / 0.6518 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.26e-05/0.4885, allocations: 64 kB / 0.6519 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.4886, allocations: 91.94 kB / 0.652 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.4906, allocations: 0.655 MB / 0.6526 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001382/0.4908, allocations: 127.5 kB / 0.6527 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.4926, allocations: 433.4 kB / 0.6531 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.4929, allocations: 180 kB / 0.6533 GB, free: 2.371 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.002146/0.4951, allocations: 1.347 MB / 0.6546 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.4954, allocations: 162.9 kB / 0.6548 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.4958, allocations: 188.9 kB / 0.6549 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/0.4958, allocations: 27.91 kB / 0.655 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4958, allocations: 0 / 0.655 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.4958, allocations: 3.984 kB / 0.655 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00776/0.5036, allocations: 3.997 MB / 0.6589 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.5036, allocations: 8.125 kB / 0.6589 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5041, allocations: 103.8 kB / 0.659 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.5041, allocations: 8 kB / 0.659 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.5041, allocations: 23.98 kB / 0.659 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.5042, allocations: 15.88 kB / 0.659 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.5042, allocations: 8 kB / 0.659 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.5058, allocations: 1.27 MB / 0.6603 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.5062, allocations: 182.6 kB / 0.6605 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.5065, allocations: 23.97 kB / 0.6605 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.5071, allocations: 35.94 kB / 0.6605 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5072, allocations: 55.8 kB / 0.6606 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.5072, allocations: 24 kB / 0.6606 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002178/0.5094, allocations: 1.275 MB / 0.6618 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5094, allocations: 0 / 0.6618 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002711/0.5121, allocations: 0.6852 MB / 0.6625 GB, free: 8.688 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002274/0.5144, allocations: 1.88 MB / 0.6643 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003334/0.5177, allocations: 1.96 MB / 0.6663 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5177, allocations: 0 / 0.6663 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006045/0.5183, allocations: 437.4 kB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5197, allocations: 244 kB / 0.6669 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/0.5509, allocations: 20.94 MB / 0.6874 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/0.5538, allocations: 2.279 MB / 0.6896 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002188/0.556, allocations: 0.952 MB / 0.6905 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/0.5575, allocations: 1.042 MB / 0.6915 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.5575, allocations: 4 kB / 0.6915 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0761/0.6336, allocations: 35.28 MB / 0.726 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.34, allocations: 6.281 kB / 0.726 GB, free: 5.156 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 19.75523710413836]