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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 106.4 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 81.16 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03086/0.1563, allocations: 30.31 MB / 0.498 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1701, allocations: 6.267 MB / 0.5041 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006845/0.177, allocations: 119.8 kB / 0.5042 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2635/0.4405, allocations: 1.925 MB / 0.5061 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.4435, allocations: 1.033 MB / 0.5071 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.4442, allocations: 274.9 kB / 0.5073 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.4485, allocations: 2.346 MB / 0.5096 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/0.4521, allocations: 2.42 MB / 0.512 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.4541, allocations: 0.89 MB / 0.5129 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.4561, allocations: 1.262 MB / 0.5141 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004603/0.4566, allocations: 194.4 kB / 0.5143 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.4582, allocations: 0.7045 MB / 0.515 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.4597, allocations: 1.118 MB / 0.5161 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.4613, allocations: 1.321 MB / 0.5174 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004907/0.4662, allocations: 4.189 MB / 0.5214 GB, free: 8.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4662, allocations: 2.156 kB / 0.5215 GB, free: 8.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4662, allocations: 0 / 0.5215 GB, free: 8.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.244e-05/0.4663, allocations: 3.75 kB / 0.5215 GB, free: 8.781 MB / 382.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.005209/0.4716, allocations: 2.856 MB / 0.5242 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.4716, allocations: 10.06 kB / 0.5243 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00059/0.4722, allocations: 487 kB / 0.5247 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/0.477, allocations: 1.555 MB / 0.5262 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.4794, allocations: 1.323 MB / 0.5275 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.4795, allocations: 146.1 kB / 0.5277 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.4799, allocations: 187.6 kB / 0.5278 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/0.4886, allocations: 6.243 MB / 0.5339 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/0.4887, allocations: 13.75 kB / 0.534 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.489, allocations: 91.06 kB / 0.534 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/0.4908, allocations: 1.345 MB / 0.5354 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008511/0.4993, allocations: 5.334 MB / 0.5406 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/0.526, allocations: 20.17 MB / 0.5603 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/0.5304, allocations: 2.003 MB / 0.5622 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.5314, allocations: 0.6914 MB / 0.5629 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006817/0.5382, allocations: 3.611 MB / 0.5664 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.5383, allocations: 44.69 kB / 0.5665 GB, free: 2.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.5383, allocations: 4 kB / 0.5665 GB, free: 2.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005496/0.5438, allocations: 1.979 MB / 0.5684 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5439, allocations: 63.78 kB / 0.5685 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/0.5472, allocations: 1.937 MB / 0.5704 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.5472, allocations: 33.7 kB / 0.5704 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.5485, allocations: 1.841 MB / 0.5722 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.5489, allocations: 308.5 kB / 0.5725 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008698/0.5497, allocations: 0.619 MB / 0.5731 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5499, allocations: 349.9 kB / 0.5734 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.5513, allocations: 0.8881 MB / 0.5743 GB, free: 10.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.554, allocations: 2.76 MB / 0.577 GB, free: 6.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005193/0.5592, allocations: 3.967 MB / 0.5808 GB, free: 2.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-05/0.5593, allocations: 20 kB / 0.5809 GB, free: 2.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005908/0.5652, allocations: 3.526 MB / 0.5843 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.5653, allocations: 35.98 kB / 0.5843 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/0.5654, allocations: 68 kB / 0.5844 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.717e-05/0.5655, allocations: 84 kB / 0.5845 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.5676, allocations: 0.6524 MB / 0.5851 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001143/0.5677, allocations: 129.4 kB / 0.5853 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.5699, allocations: 420 kB / 0.5857 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.5702, allocations: 195.3 kB / 0.5858 GB, free: 13.65 MB / 446.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.002396/0.5726, allocations: 1.342 MB / 0.5871 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.5729, allocations: 153.9 kB / 0.5873 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.5733, allocations: 196.9 kB / 0.5875 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.5734, allocations: 12 kB / 0.5875 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.5734, allocations: 3.938 kB / 0.5875 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5734, allocations: 11.92 kB / 0.5875 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/0.582, allocations: 4.019 MB / 0.5914 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.582, allocations: 12.06 kB / 0.5914 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.5825, allocations: 107.8 kB / 0.5915 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/0.5825, allocations: 8 kB / 0.5916 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.5826, allocations: 16 kB / 0.5916 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.5826, allocations: 8 kB / 0.5916 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.5826, allocations: 11.94 kB / 0.5916 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.5843, allocations: 1.261 MB / 0.5928 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.5848, allocations: 254.7 kB / 0.5931 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.5853, allocations: 20 kB / 0.5931 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.5861, allocations: 31.88 kB / 0.5931 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5862, allocations: 51.83 kB / 0.5932 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.5863, allocations: 34.81 kB / 0.5932 GB, free: 5.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002783/0.5891, allocations: 1.275 MB / 0.5944 GB, free: 4.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5891, allocations: 0 / 0.5944 GB, free: 4.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003436/0.5925, allocations: 0.6765 MB / 0.5951 GB, free: 3.945 MB / 446.1 MB 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.002134/0.5947, allocations: 1.877 MB / 0.5969 GB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003577/0.5982, allocations: 2.245 MB / 0.5991 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5983, allocations: 0 / 0.5991 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.5988, allocations: 465.2 kB / 0.5996 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.6004, allocations: 237.3 kB / 0.5998 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/0.6351, allocations: 23.3 MB / 0.6225 GB, free: 4.793 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/0.6384, allocations: 2.275 MB / 0.6248 GB, free: 2.488 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002313/0.6407, allocations: 0.9519 MB / 0.6257 GB, free: 1.531 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.6423, allocations: 1.05 MB / 0.6267 GB, free: 492 kB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6423, allocations: 0 / 0.6267 GB, free: 492 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05388/0.6962, allocations: 31.87 MB / 0.6579 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.6965, allocations: 199.4 kB / 0.658 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.405, allocations: 0 / 0.658 GB, free: 0.5117 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches