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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 103.2 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.001231/0.001231, 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.466/1.466, allocations: 227.4 MB / 246.3 MB, free: 9.176 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 73.09 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 62.46 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02977/0.1469, allocations: 30.31 MB / 0.4977 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1597, allocations: 6.318 MB / 0.5038 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00475/0.1645, allocations: 123.8 kB / 0.504 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2395/0.404, allocations: 1.986 MB / 0.5059 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.4079, allocations: 1.047 MB / 0.5069 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.4087, allocations: 268 kB / 0.5072 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.4141, allocations: 3.364 MB / 0.5105 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004074/0.4182, allocations: 2.292 MB / 0.5127 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.42, allocations: 0.7763 MB / 0.5135 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.4218, allocations: 1.222 MB / 0.5146 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004716/0.4223, allocations: 150.5 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.4243, allocations: 0.6961 MB / 0.5155 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.4257, allocations: 1.073 MB / 0.5165 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.4272, allocations: 1.264 MB / 0.5177 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.4321, allocations: 4.123 MB / 0.5218 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4321, allocations: 0 / 0.5218 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4321, allocations: 1.156 kB / 0.5218 GB, free: 8.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.943e-05/0.4322, allocations: 3.938 kB / 0.5218 GB, free: 8.855 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.004871/0.4371, allocations: 2.863 MB / 0.5246 GB, free: 6.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4371, allocations: 8.844 kB / 0.5246 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004647/0.4418, allocations: 1.556 MB / 0.5261 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.4438, allocations: 1.322 MB / 0.5274 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/0.4439, allocations: 143.9 kB / 0.5275 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.4442, allocations: 184.1 kB / 0.5277 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008069/0.4523, allocations: 6.246 MB / 0.5338 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.4524, allocations: 16.75 kB / 0.5338 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.4526, allocations: 88.78 kB / 0.5339 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.4543, allocations: 1.347 MB / 0.5352 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008741/0.4631, allocations: 5.339 MB / 0.5404 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/0.5006, allocations: 20.16 MB / 0.5601 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.507, allocations: 2.009 MB / 0.5621 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.5085, allocations: 0.6944 MB / 0.5628 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009842/0.5183, allocations: 3.615 MB / 0.5663 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.5184, allocations: 37.91 kB / 0.5663 GB, free: 2.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.869e-06/0.5184, allocations: 0 / 0.5663 GB, free: 2.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.007874/0.5263, allocations: 1.985 MB / 0.5683 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5264, allocations: 55.84 kB / 0.5683 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/0.5313, allocations: 1.939 MB / 0.5702 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.5314, allocations: 33.7 kB / 0.5702 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.5333, allocations: 1.838 MB / 0.572 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.5338, allocations: 313.6 kB / 0.5723 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.5352, allocations: 0.6144 MB / 0.5729 GB, free: 11.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5354, allocations: 359.8 kB / 0.5733 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.5374, allocations: 0.888 MB / 0.5742 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.5412, allocations: 2.753 MB / 0.5768 GB, free: 6.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00669/0.5479, allocations: 3.973 MB / 0.5807 GB, free: 2.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.99e-05/0.548, allocations: 16 kB / 0.5807 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.009174/0.5572, allocations: 3.522 MB / 0.5842 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.5573, allocations: 32 kB / 0.5842 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.5575, allocations: 64 kB / 0.5843 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.5577, allocations: 88.81 kB / 0.5844 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.5601, allocations: 0.6565 MB / 0.585 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000124/0.5602, allocations: 135.5 kB / 0.5851 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.5627, allocations: 415.5 kB / 0.5855 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/0.563, allocations: 188 kB / 0.5857 GB, free: 13.61 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.002888/0.5659, allocations: 1.345 MB / 0.587 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.5663, allocations: 157.9 kB / 0.5872 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.5667, allocations: 196.9 kB / 0.5874 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.5668, allocations: 11.98 kB / 0.5874 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5668, allocations: 3.938 kB / 0.5874 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5668, allocations: 3.938 kB / 0.5874 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.5743, allocations: 4.027 MB / 0.5913 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.5743, allocations: 4 kB / 0.5913 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/0.5749, allocations: 107.8 kB / 0.5914 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.575, allocations: 8 kB / 0.5914 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.5751, allocations: 23.98 kB / 0.5914 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.5751, allocations: 11.94 kB / 0.5915 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.5751, allocations: 11.94 kB / 0.5915 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.5768, allocations: 1.264 MB / 0.5927 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.5774, allocations: 250.7 kB / 0.5929 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.5777, allocations: 18.64 kB / 0.593 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.5783, allocations: 31.89 kB / 0.593 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5784, allocations: 63.75 kB / 0.593 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.5785, allocations: 28 kB / 0.5931 GB, free: 5.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002186/0.5807, allocations: 1.267 MB / 0.5943 GB, free: 4.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5807, allocations: 0 / 0.5943 GB, free: 4.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002792/0.5835, allocations: 0.6748 MB / 0.595 GB, free: 3.926 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.0003734/0.5839, allocations: 150 kB / 0.5951 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.5872, allocations: 2.022 MB / 0.5971 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5872, allocations: 0 / 0.5971 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.5878, allocations: 465.5 kB / 0.5975 GB, free: 1.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5893, allocations: 230.4 kB / 0.5977 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.6001, allocations: 6.388 MB / 0.604 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/0.6034, allocations: 2.282 MB / 0.6062 GB, free: 8.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002517/0.6059, allocations: 0.9559 MB / 0.6071 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.6063, allocations: 119.4 kB / 0.6073 GB, free: 7.199 MB / 462.1 MB Notification: Performance of SimCode: time 2.465e-06/0.6063, allocations: 0 / 0.6073 GB, free: 7.199 MB / 462.1 MB Notification: Performance of Templates: time 0.0314/0.6377, allocations: 13.64 MB / 0.6206 GB, free: 9.633 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches