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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 83.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.379, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01151/0.3906, allocations: 9.521 MB / 0.5403 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008911/0.3995, allocations: 2.922 MB / 0.5431 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.4022, allocations: 56 kB / 0.5432 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.4072, allocations: 1.982 MB / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.411, allocations: 1.103 MB / 0.5462 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.412, allocations: 295 kB / 0.5465 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.4157, allocations: 2.338 MB / 0.5488 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.4188, allocations: 2.3 MB / 0.551 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.4202, allocations: 0.88 MB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.4215, allocations: 1.153 MB / 0.553 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003106/0.4218, allocations: 196 kB / 0.5532 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.423, allocations: 0.6981 MB / 0.5539 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009116/0.4239, allocations: 1.103 MB / 0.5549 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.425, allocations: 1.305 MB / 0.5562 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.429, allocations: 4.327 MB / 0.5604 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.429, allocations: 3.984 kB / 0.5604 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.429, allocations: 0 / 0.5604 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.356e-05/0.4291, allocations: 0 / 0.5604 GB, free: 3.438 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.004365/0.4334, allocations: 2.942 MB / 0.5633 GB, free: 444 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4335, allocations: 8.031 kB / 0.5633 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.4383, allocations: 1.574 MB / 0.5649 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.4403, allocations: 1.344 MB / 0.5662 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.089e-05/0.4404, allocations: 144 kB / 0.5663 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.4407, allocations: 191.8 kB / 0.5665 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008502/0.4492, allocations: 6.246 MB / 0.5726 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.4493, allocations: 11.88 kB / 0.5726 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.4495, allocations: 91.91 kB / 0.5727 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.4515, allocations: 1.34 MB / 0.574 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0095/0.461, allocations: 5.334 MB / 0.5792 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02715/0.4882, allocations: 20.08 MB / 0.5988 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.4925, allocations: 2.01 MB / 0.6008 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.4934, allocations: 0.6875 MB / 0.6014 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006516/0.4999, allocations: 3.628 MB / 0.605 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.5, allocations: 39 kB / 0.605 GB, free: 4.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.797e-06/0.5, allocations: 0 / 0.605 GB, free: 4.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005348/0.5054, allocations: 1.986 MB / 0.607 GB, free: 2.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.5054, allocations: 59.78 kB / 0.607 GB, free: 2.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.5084, allocations: 1.949 MB / 0.6089 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.5085, allocations: 29.7 kB / 0.609 GB, free: 480 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.5099, allocations: 1.919 MB / 0.6108 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.5102, allocations: 325.5 kB / 0.6111 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/0.5112, allocations: 0.6234 MB / 0.6117 GB, free: 13.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5114, allocations: 353.9 kB / 0.6121 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.5136, allocations: 0.8881 MB / 0.613 GB, free: 12.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/0.5177, allocations: 2.751 MB / 0.6156 GB, free: 8.645 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/0.5243, allocations: 3.978 MB / 0.6195 GB, free: 3.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.208e-05/0.5244, allocations: 16 kB / 0.6195 GB, free: 3.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.008776/0.5332, allocations: 3.525 MB / 0.623 GB, free: 200 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.5333, allocations: 36.25 kB / 0.623 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.5334, allocations: 68 kB / 0.6231 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.5336, allocations: 84 kB / 0.6232 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.5367, allocations: 0.6626 MB / 0.6238 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001601/0.5368, allocations: 127.5 kB / 0.6239 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.54, allocations: 424.8 kB / 0.6243 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/0.5404, allocations: 192 kB / 0.6245 GB, free: 14.62 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.003079/0.5435, allocations: 1.342 MB / 0.6258 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/0.544, allocations: 166.8 kB / 0.626 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.5446, allocations: 200.9 kB / 0.6262 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.5446, allocations: 11.94 kB / 0.6262 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.5446, allocations: 0 / 0.6262 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5446, allocations: 3.984 kB / 0.6262 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.5553, allocations: 4.028 MB / 0.6301 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/0.5553, allocations: 4 kB / 0.6301 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.556, allocations: 107.8 kB / 0.6302 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/0.556, allocations: 8 kB / 0.6302 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.5561, allocations: 20 kB / 0.6303 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/0.5561, allocations: 12.56 kB / 0.6303 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.5562, allocations: 12 kB / 0.6303 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.5586, allocations: 1.275 MB / 0.6315 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.5596, allocations: 255.8 kB / 0.6318 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007329/0.5604, allocations: 12 kB / 0.6318 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5615, allocations: 35.92 kB / 0.6318 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.5617, allocations: 55.83 kB / 0.6319 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/0.5618, allocations: 28 kB / 0.6319 GB, free: 6.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0037/0.5655, allocations: 1.267 MB / 0.6331 GB, free: 5.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5655, allocations: 0 / 0.6331 GB, free: 5.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0048/0.5703, allocations: 0.6968 MB / 0.6338 GB, free: 4.816 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.0005193/0.5709, allocations: 146.9 kB / 0.634 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.5753, allocations: 2.045 MB / 0.636 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.5753, allocations: 0 / 0.636 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.576, allocations: 470.8 kB / 0.6364 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.5783, allocations: 253 kB / 0.6366 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.5915, allocations: 5.133 MB / 0.6417 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/0.5958, allocations: 2.271 MB / 0.6439 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003274/0.5991, allocations: 0.9636 MB / 0.6448 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.5997, allocations: 119.4 kB / 0.6449 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5997, allocations: 0 / 0.6449 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.04676/0.6465, allocations: 14.99 MB / 0.6596 GB, free: 10.32 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches