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.00085/0.00085, allocations: 91.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001018, allocations: 197.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002509, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 63.55 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02664/0.1369, allocations: 29.39 MB / 0.5011 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.1494, allocations: 6.271 MB / 0.5072 GB, free: 340 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004835/0.1543, allocations: 123.8 kB / 0.5073 GB, free: 216 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2215/0.3758, allocations: 282.4 kB / 0.5076 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.3792, allocations: 1.05 MB / 0.5086 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.3799, allocations: 270.6 kB / 0.5089 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004815/0.3847, allocations: 3.365 MB / 0.5122 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004585/0.3893, allocations: 3.342 MB / 0.5154 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3906, allocations: 0.6256 MB / 0.516 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.392, allocations: 1.028 MB / 0.517 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.3922, allocations: 87.75 kB / 0.5171 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3935, allocations: 0.6412 MB / 0.5178 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009977/0.3946, allocations: 0.9854 MB / 0.5187 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009242/0.3955, allocations: 1.179 MB / 0.5199 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.3986, allocations: 3.319 MB / 0.5231 GB, free: 8.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3986, allocations: 0 / 0.5231 GB, free: 8.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3987, allocations: 1.469 kB / 0.5231 GB, free: 8.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.846e-05/0.3987, allocations: 0 / 0.5231 GB, free: 8.727 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.003881/0.4026, allocations: 2.342 MB / 0.5254 GB, free: 7.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4027, allocations: 12.44 kB / 0.5254 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.4077, allocations: 1.605 MB / 0.527 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.4096, allocations: 1.314 MB / 0.5283 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.4097, allocations: 147.6 kB / 0.5284 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.4101, allocations: 191.1 kB / 0.5286 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007713/0.4178, allocations: 6.242 MB / 0.5347 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.4179, allocations: 13.31 kB / 0.5347 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.4181, allocations: 89.5 kB / 0.5348 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/0.4198, allocations: 1.344 MB / 0.5361 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007962/0.4278, allocations: 5.331 MB / 0.5413 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/0.4524, allocations: 20.18 MB / 0.561 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00408/0.4565, allocations: 2.008 MB / 0.563 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.4575, allocations: 0.6982 MB / 0.5637 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006053/0.4636, allocations: 3.612 MB / 0.5672 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4636, allocations: 35 kB / 0.5672 GB, free: 4.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/0.4636, allocations: 0 / 0.5672 GB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005377/0.469, allocations: 1.98 MB / 0.5691 GB, free: 2.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4691, allocations: 63.78 kB / 0.5692 GB, free: 2.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.4718, allocations: 1.937 MB / 0.5711 GB, free: 428 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.4719, allocations: 44.34 kB / 0.5711 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.4731, allocations: 1.821 MB / 0.5729 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.4734, allocations: 327.9 kB / 0.5732 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.4737, allocations: 272.1 kB / 0.5735 GB, free: 13.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4738, allocations: 357.9 kB / 0.5738 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.4751, allocations: 0.8881 MB / 0.5747 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.4779, allocations: 2.751 MB / 0.5774 GB, free: 9.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.482, allocations: 3.966 MB / 0.5813 GB, free: 4.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.4821, allocations: 20 kB / 0.5813 GB, free: 4.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005005/0.4871, allocations: 3.526 MB / 0.5847 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.4871, allocations: 36 kB / 0.5848 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-05/0.4872, allocations: 64 kB / 0.5848 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-05/0.4873, allocations: 88 kB / 0.5849 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.4891, allocations: 0.6538 MB / 0.5855 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001078/0.4892, allocations: 133.8 kB / 0.5857 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.491, allocations: 416 kB / 0.5861 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.4912, allocations: 187.9 kB / 0.5862 GB, free: 15.79 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.002325/0.4936, allocations: 1.337 MB / 0.5875 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.4938, allocations: 153.9 kB / 0.5877 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.4942, allocations: 196.9 kB / 0.5879 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.4942, allocations: 16 kB / 0.5879 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4942, allocations: 7.922 kB / 0.5879 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/0.4943, allocations: 3.984 kB / 0.5879 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/0.5004, allocations: 4.02 MB / 0.5918 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.5004, allocations: 12.06 kB / 0.5918 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.5008, allocations: 107.8 kB / 0.5919 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.5009, allocations: 15.94 kB / 0.592 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.5009, allocations: 16 kB / 0.592 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/0.5009, allocations: 19.92 kB / 0.592 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.5009, allocations: 8 kB / 0.592 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.5025, allocations: 1.253 MB / 0.5932 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.5029, allocations: 258.6 kB / 0.5935 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.503, allocations: 23.98 kB / 0.5935 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.5035, allocations: 27.89 kB / 0.5935 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.5036, allocations: 59.7 kB / 0.5936 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.5037, allocations: 35.98 kB / 0.5936 GB, free: 7.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001824/0.5055, allocations: 1.267 MB / 0.5949 GB, free: 6.703 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5055, allocations: 0 / 0.5949 GB, free: 6.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002527/0.5081, allocations: 0.6753 MB / 0.5955 GB, free: 6.027 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.000288/0.5083, allocations: 150 kB / 0.5957 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002795/0.5112, allocations: 2.02 MB / 0.5976 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5112, allocations: 4 kB / 0.5976 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.5117, allocations: 464 kB / 0.5981 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.5143, allocations: 236.5 kB / 0.5983 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009318/0.5236, allocations: 6.72 MB / 0.6049 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/0.5259, allocations: 2.275 MB / 0.6071 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.5263, allocations: 147.4 kB / 0.6072 GB, free: 9.883 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5264, allocations: 0 / 0.6072 GB, free: 9.883 MB / 462.1 MB Notification: Performance of Templates: time 0.04511/0.5715, allocations: 29.35 MB / 0.6359 GB, free: 12.59 MB / 494.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/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