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.001462/0.001462, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.3 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.2019/0.2019, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 68.62 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 62.46 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02777/0.146, allocations: 30.31 MB / 0.4978 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1589, allocations: 6.314 MB / 0.5039 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005729/0.1647, allocations: 131.7 kB / 0.504 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2175/0.3823, allocations: 1.99 MB / 0.506 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.3847, allocations: 1.044 MB / 0.507 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.3853, allocations: 262.8 kB / 0.5073 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.3886, allocations: 3.373 MB / 0.5105 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.3909, allocations: 2.282 MB / 0.5128 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009191/0.3919, allocations: 0.7803 MB / 0.5135 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.3932, allocations: 1.225 MB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.3935, allocations: 150.6 kB / 0.5149 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3948, allocations: 0.687 MB / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008277/0.3956, allocations: 1.078 MB / 0.5166 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.3965, allocations: 1.273 MB / 0.5178 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.3996, allocations: 4.116 MB / 0.5219 GB, free: 8.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.3997, allocations: 1.531 kB / 0.5219 GB, free: 8.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3997, allocations: 4 kB / 0.5219 GB, free: 8.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.02e-05/0.3997, allocations: 0 / 0.5219 GB, free: 8.895 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.003906/0.4036, allocations: 2.863 MB / 0.5247 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4037, allocations: 10.28 kB / 0.5247 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004736/0.4042, allocations: 480.1 kB / 0.5251 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.4085, allocations: 1.564 MB / 0.5267 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.4103, allocations: 1.315 MB / 0.5279 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.4104, allocations: 143.6 kB / 0.5281 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/0.4107, allocations: 192.5 kB / 0.5283 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/0.4176, allocations: 6.247 MB / 0.5344 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.4177, allocations: 12.66 kB / 0.5344 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.4179, allocations: 86.11 kB / 0.5345 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.4195, allocations: 1.347 MB / 0.5358 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/0.4276, allocations: 5.331 MB / 0.541 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02904/0.4566, allocations: 20.17 MB / 0.5607 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.4611, allocations: 2.003 MB / 0.5626 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009753/0.4621, allocations: 0.6914 MB / 0.5633 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006648/0.4687, allocations: 3.617 MB / 0.5668 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4688, allocations: 41.62 kB / 0.5669 GB, free: 2.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.055e-06/0.4688, allocations: 0 / 0.5669 GB, free: 2.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005474/0.4743, allocations: 1.981 MB / 0.5688 GB, free: 80 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.4744, allocations: 59.78 kB / 0.5689 GB, free: 8 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.4774, allocations: 1.929 MB / 0.5708 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.4775, allocations: 41.69 kB / 0.5708 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.4789, allocations: 1.841 MB / 0.5726 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/0.4793, allocations: 313.5 kB / 0.5729 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008983/0.4803, allocations: 0.6138 MB / 0.5735 GB, free: 11.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4804, allocations: 357.9 kB / 0.5738 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4817, allocations: 0.8881 MB / 0.5747 GB, free: 10.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.4847, allocations: 2.75 MB / 0.5774 GB, free: 6.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/0.4892, allocations: 3.966 MB / 0.5813 GB, free: 1.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.787e-05/0.4893, allocations: 20 kB / 0.5813 GB, free: 1.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005374/0.4946, allocations: 3.521 MB / 0.5847 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.4947, allocations: 34.66 kB / 0.5848 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.854e-05/0.4948, allocations: 68 kB / 0.5848 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.851e-05/0.4949, allocations: 91.98 kB / 0.5849 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.4967, allocations: 0.6508 MB / 0.5855 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.4968, allocations: 131.1 kB / 0.5857 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4986, allocations: 427.6 kB / 0.5861 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.4989, allocations: 190.6 kB / 0.5863 GB, free: 13.11 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.002354/0.5012, allocations: 1.341 MB / 0.5876 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.5015, allocations: 157.9 kB / 0.5877 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.5019, allocations: 192.9 kB / 0.5879 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.502, allocations: 12 kB / 0.5879 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.502, allocations: 3.938 kB / 0.5879 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.502, allocations: 11.91 kB / 0.5879 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007581/0.5096, allocations: 4.022 MB / 0.5919 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5096, allocations: 11.94 kB / 0.5919 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.51, allocations: 104.7 kB / 0.592 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.51, allocations: 8 kB / 0.592 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.5101, allocations: 20 kB / 0.592 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.5101, allocations: 19.94 kB / 0.592 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.5101, allocations: 7.938 kB / 0.592 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.5117, allocations: 1.255 MB / 0.5933 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.5121, allocations: 250.7 kB / 0.5935 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.5123, allocations: 20 kB / 0.5935 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.5129, allocations: 27.89 kB / 0.5935 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.5131, allocations: 63.66 kB / 0.5936 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.5132, allocations: 28 kB / 0.5936 GB, free: 5.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002095/0.5153, allocations: 1.271 MB / 0.5949 GB, free: 4.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5153, allocations: 0 / 0.5949 GB, free: 4.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002897/0.5182, allocations: 0.6804 MB / 0.5955 GB, free: 3.402 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.002562/0.5208, allocations: 1.867 MB / 0.5974 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.5243, allocations: 2.023 MB / 0.5993 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5243, allocations: 0 / 0.5993 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.525, allocations: 464 kB / 0.5998 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.5263, allocations: 233.8 kB / 0.6 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03534/0.5616, allocations: 23.3 MB / 0.6227 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/0.5656, allocations: 2.271 MB / 0.625 GB, free: 2.188 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002603/0.5682, allocations: 0.952 MB / 0.6259 GB, free: 1.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/0.5699, allocations: 1.05 MB / 0.6269 GB, free: 184 kB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5699, allocations: 0 / 0.6269 GB, free: 184 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.6238, allocations: 31.4 MB / 0.6576 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.624, allocations: 193.9 kB / 0.6578 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.087, allocations: 0 / 0.6578 GB, free: 0.6641 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