Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002189/0.002189, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.1 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 77.38 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02805/0.1361, allocations: 30.31 MB / 0.4977 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.1507, allocations: 6.322 MB / 0.5039 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005585/0.1564, allocations: 127.7 kB / 0.504 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2295/0.3859, allocations: 1.991 MB / 0.506 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.389, allocations: 1.047 MB / 0.507 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.3897, allocations: 262.3 kB / 0.5073 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004897/0.3946, allocations: 3.363 MB / 0.5105 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.3979, allocations: 2.285 MB / 0.5128 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.3993, allocations: 0.7783 MB / 0.5135 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.4012, allocations: 1.227 MB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004017/0.4016, allocations: 147.7 kB / 0.5149 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.4032, allocations: 0.6943 MB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.4045, allocations: 1.073 MB / 0.5166 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.4059, allocations: 1.274 MB / 0.5178 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.4105, allocations: 4.117 MB / 0.5219 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4106, allocations: 0 / 0.5219 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4106, allocations: 3 kB / 0.5219 GB, free: 8.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.899e-05/0.4107, allocations: 1.5 kB / 0.5219 GB, free: 8.887 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.005169/0.4158, allocations: 2.862 MB / 0.5247 GB, free: 6.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4159, allocations: 9.969 kB / 0.5247 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005927/0.4165, allocations: 492.5 kB / 0.5251 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.4212, allocations: 1.556 MB / 0.5267 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.4234, allocations: 1.319 MB / 0.528 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.4235, allocations: 143.3 kB / 0.5281 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004532/0.424, allocations: 190.9 kB / 0.5283 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008637/0.4326, allocations: 6.242 MB / 0.5344 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.4327, allocations: 15.25 kB / 0.5344 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.4329, allocations: 89.27 kB / 0.5345 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00168/0.4346, allocations: 1.346 MB / 0.5358 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008937/0.4436, allocations: 5.327 MB / 0.541 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.4694, allocations: 20.18 MB / 0.5607 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.4735, allocations: 2.001 MB / 0.5626 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/0.4745, allocations: 0.6992 MB / 0.5633 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006302/0.4808, allocations: 3.604 MB / 0.5668 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4809, allocations: 39 kB / 0.5669 GB, free: 2.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.881e-06/0.4809, allocations: 3.984 kB / 0.5669 GB, free: 2.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005374/0.4863, allocations: 1.984 MB / 0.5688 GB, free: 16 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.4864, allocations: 63.78 kB / 0.5689 GB, free: 15.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.4892, allocations: 1.929 MB / 0.5708 GB, free: 14.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/0.4893, allocations: 33.7 kB / 0.5708 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.4904, allocations: 1.843 MB / 0.5726 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.4906, allocations: 315.7 kB / 0.5729 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007621/0.4914, allocations: 0.6151 MB / 0.5735 GB, free: 11.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4916, allocations: 353.9 kB / 0.5738 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4929, allocations: 0.8881 MB / 0.5747 GB, free: 9.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.4954, allocations: 2.747 MB / 0.5774 GB, free: 6.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.4996, allocations: 3.976 MB / 0.5813 GB, free: 1.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.904e-05/0.4996, allocations: 24 kB / 0.5813 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005412/0.505, allocations: 3.515 MB / 0.5847 GB, free: 14.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.5051, allocations: 36.97 kB / 0.5848 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-05/0.5052, allocations: 64 kB / 0.5848 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.974e-05/0.5053, allocations: 92 kB / 0.5849 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.5071, allocations: 0.6594 MB / 0.5856 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-05/0.5072, allocations: 130.7 kB / 0.5857 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.5091, allocations: 415.5 kB / 0.5861 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.5093, allocations: 186.1 kB / 0.5863 GB, free: 13.06 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.002297/0.5116, allocations: 1.346 MB / 0.5876 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.5119, allocations: 153.9 kB / 0.5877 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.5123, allocations: 200.9 kB / 0.5879 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.5123, allocations: 11.98 kB / 0.5879 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.5123, allocations: 3.938 kB / 0.5879 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5123, allocations: 3.938 kB / 0.5879 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/0.5187, allocations: 4.021 MB / 0.5919 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.5188, allocations: 11.94 kB / 0.5919 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.5192, allocations: 99.83 kB / 0.592 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.5192, allocations: 12 kB / 0.592 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.5192, allocations: 26.56 kB / 0.592 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.5193, allocations: 11.94 kB / 0.592 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5193, allocations: 11.94 kB / 0.592 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.5207, allocations: 1.259 MB / 0.5933 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.5211, allocations: 246.7 kB / 0.5935 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.5213, allocations: 23.92 kB / 0.5935 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.5218, allocations: 35.88 kB / 0.5935 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.5219, allocations: 59.75 kB / 0.5936 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.5219, allocations: 34.42 kB / 0.5936 GB, free: 5.293 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001761/0.5237, allocations: 1.263 MB / 0.5949 GB, free: 4.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5237, allocations: 0 / 0.5949 GB, free: 4.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002782/0.5265, allocations: 0.6805 MB / 0.5955 GB, free: 3.355 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.001887/0.5284, allocations: 1.871 MB / 0.5974 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002987/0.5314, allocations: 2.021 MB / 0.5993 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5314, allocations: 1.812 kB / 0.5993 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.532, allocations: 461.2 kB / 0.5998 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5332, allocations: 232.4 kB / 0.6 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03312/0.5664, allocations: 23.29 MB / 0.6227 GB, free: 4.449 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.5688, allocations: 2.279 MB / 0.625 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002252/0.571, allocations: 0.9597 MB / 0.6259 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.5723, allocations: 1.042 MB / 0.6269 GB, free: 132 kB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5723, allocations: 4 kB / 0.6269 GB, free: 128 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.6286, allocations: 31.4 MB / 0.6576 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.6288, allocations: 194.1 kB / 0.6578 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/3.317, allocations: 4 kB / 0.6578 GB, free: 0.6016 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches