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.001289/0.001289, allocations: 113.7 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 212.7 kB / 19.4 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.13 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 75.88 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3484, allocations: 62.44 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01221/0.3606, allocations: 9.557 MB / 0.541 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.3674, allocations: 2.926 MB / 0.5439 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.3688, allocations: 48.78 kB / 0.544 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.3729, allocations: 2.017 MB / 0.5459 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.3761, allocations: 1.126 MB / 0.547 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.3769, allocations: 289.9 kB / 0.5473 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.3801, allocations: 2.333 MB / 0.5496 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.3824, allocations: 1.91 MB / 0.5514 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3836, allocations: 0.8722 MB / 0.5523 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.3853, allocations: 1.16 MB / 0.5534 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.3856, allocations: 196 kB / 0.5536 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.3869, allocations: 0.6982 MB / 0.5543 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.388, allocations: 1.133 MB / 0.5554 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.3893, allocations: 1.308 MB / 0.5567 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.3944, allocations: 4.339 MB / 0.5609 GB, free: 3.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3944, allocations: 3.938 kB / 0.5609 GB, free: 3.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3944, allocations: 0 / 0.5609 GB, free: 3.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.595e-05/0.3945, allocations: 0 / 0.5609 GB, free: 3.633 MB / 414.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.005265/0.3997, allocations: 2.942 MB / 0.5638 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3998, allocations: 8.031 kB / 0.5638 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/0.4052, allocations: 1.578 MB / 0.5653 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.408, allocations: 1.34 MB / 0.5667 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.4081, allocations: 144 kB / 0.5668 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.4086, allocations: 187.8 kB / 0.567 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4188, allocations: 6.25 MB / 0.5731 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.4189, allocations: 15.88 kB / 0.5731 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.4191, allocations: 83.91 kB / 0.5732 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002287/0.4214, allocations: 1.34 MB / 0.5745 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.4315, allocations: 5.334 MB / 0.5797 GB, free: 12 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02865/0.4601, allocations: 20.08 MB / 0.5993 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.4644, allocations: 1.944 MB / 0.6012 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009637/0.4654, allocations: 0.6367 MB / 0.6018 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006812/0.4722, allocations: 3.617 MB / 0.6053 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.4723, allocations: 42.98 kB / 0.6054 GB, free: 4.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.4723, allocations: 0 / 0.6054 GB, free: 4.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005601/0.4779, allocations: 1.986 MB / 0.6073 GB, free: 2.848 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.4779, allocations: 63.78 kB / 0.6074 GB, free: 2.773 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4807, allocations: 1.942 MB / 0.6093 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.4807, allocations: 33.7 kB / 0.6093 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.4822, allocations: 1.911 MB / 0.6112 GB, free: 14.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.4825, allocations: 337.5 kB / 0.6115 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008076/0.4833, allocations: 0.6195 MB / 0.6121 GB, free: 13.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4835, allocations: 353.9 kB / 0.6124 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.4848, allocations: 0.8842 MB / 0.6133 GB, free: 12.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.4878, allocations: 2.751 MB / 0.616 GB, free: 8.973 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004901/0.4927, allocations: 3.972 MB / 0.6199 GB, free: 4.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.272e-05/0.4927, allocations: 20 kB / 0.6199 GB, free: 4.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006734/0.4994, allocations: 3.528 MB / 0.6233 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.4995, allocations: 40.25 kB / 0.6234 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.399e-05/0.4995, allocations: 64 kB / 0.6234 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.4996, allocations: 88 kB / 0.6235 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.5016, allocations: 0.6549 MB / 0.6242 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001148/0.5017, allocations: 135.4 kB / 0.6243 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.5034, allocations: 428.8 kB / 0.6247 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.5037, allocations: 184 kB / 0.6249 GB, free: 14.95 MB / 494.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.001971/0.5057, allocations: 1.35 MB / 0.6262 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.5059, allocations: 162.9 kB / 0.6263 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.5063, allocations: 188.9 kB / 0.6265 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.5063, allocations: 15.94 kB / 0.6265 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5063, allocations: 0 / 0.6265 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5063, allocations: 3.984 kB / 0.6265 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006601/0.5129, allocations: 4.029 MB / 0.6305 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5129, allocations: 11.98 kB / 0.6305 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.5134, allocations: 99.83 kB / 0.6306 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.5135, allocations: 12 kB / 0.6306 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.5135, allocations: 15.98 kB / 0.6306 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.5135, allocations: 16.53 kB / 0.6306 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5135, allocations: 12 kB / 0.6306 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5151, allocations: 1.275 MB / 0.6319 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.5155, allocations: 255.7 kB / 0.6321 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.5157, allocations: 23.98 kB / 0.6322 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.5161, allocations: 27.94 kB / 0.6322 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.5162, allocations: 51.83 kB / 0.6322 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.5163, allocations: 39.97 kB / 0.6323 GB, free: 7.086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.5181, allocations: 1.267 MB / 0.6335 GB, free: 5.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5181, allocations: 0 / 0.6335 GB, free: 5.828 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002495/0.5206, allocations: 0.6852 MB / 0.6342 GB, free: 5.141 MB / 494.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.000333/0.521, allocations: 154.8 kB / 0.6343 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.5241, allocations: 1.955 MB / 0.6362 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5242, allocations: 0 / 0.6362 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.5247, allocations: 438.6 kB / 0.6367 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5259, allocations: 248 kB / 0.6369 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008854/0.5348, allocations: 5.133 MB / 0.6419 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/0.5374, allocations: 2.271 MB / 0.6441 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002062/0.5394, allocations: 0.9597 MB / 0.6451 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.5397, allocations: 123.4 kB / 0.6452 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.5397, allocations: 0 / 0.6452 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.03223/0.5719, allocations: 15.08 MB / 0.6599 GB, free: 10.68 MB / 0.5137 GB 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 -s gbode -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