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.00153/0.001531, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 75.86 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.385, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01232/0.3974, allocations: 9.537 MB / 0.5403 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008303/0.4057, allocations: 2.918 MB / 0.5431 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.4082, allocations: 52 kB / 0.5432 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.4125, allocations: 1.993 MB / 0.5451 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.4163, allocations: 1.133 MB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.4172, allocations: 285.9 kB / 0.5465 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.4208, allocations: 2.334 MB / 0.5488 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.4235, allocations: 2.305 MB / 0.551 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.4248, allocations: 0.8683 MB / 0.5519 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.4263, allocations: 1.156 MB / 0.553 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.4266, allocations: 196 kB / 0.5532 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.4279, allocations: 0.706 MB / 0.5539 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.429, allocations: 1.107 MB / 0.555 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.4304, allocations: 1.316 MB / 0.5563 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.4361, allocations: 4.315 MB / 0.5605 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4361, allocations: 0 / 0.5605 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4361, allocations: 4 kB / 0.5605 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.112e-05/0.4362, allocations: 0 / 0.5605 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.005971/0.4422, allocations: 2.857 MB / 0.5633 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4422, allocations: 12.02 kB / 0.5633 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.4474, allocations: 1.557 MB / 0.5648 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.4503, allocations: 1.336 MB / 0.5661 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.4505, allocations: 148 kB / 0.5662 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.4508, allocations: 187.8 kB / 0.5664 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009833/0.4606, allocations: 6.246 MB / 0.5725 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.4607, allocations: 15.88 kB / 0.5725 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.461, allocations: 83.91 kB / 0.5726 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.4631, allocations: 1.344 MB / 0.5739 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009445/0.4725, allocations: 5.334 MB / 0.5791 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.499, allocations: 20.04 MB / 0.5987 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.5031, allocations: 2.002 MB / 0.6007 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.504, allocations: 0.6992 MB / 0.6013 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006348/0.5104, allocations: 3.604 MB / 0.6049 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.5105, allocations: 47 kB / 0.6049 GB, free: 4.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.5105, allocations: 0 / 0.6049 GB, free: 4.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005254/0.5157, allocations: 1.977 MB / 0.6068 GB, free: 2.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.5158, allocations: 59.78 kB / 0.6069 GB, free: 2.625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.5184, allocations: 1.941 MB / 0.6088 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.5185, allocations: 37.7 kB / 0.6088 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.5198, allocations: 1.832 MB / 0.6106 GB, free: 14.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.5201, allocations: 316.1 kB / 0.6109 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007558/0.5208, allocations: 0.6151 MB / 0.6115 GB, free: 13.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.521, allocations: 357.9 kB / 0.6119 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5223, allocations: 0.8803 MB / 0.6127 GB, free: 12.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.5248, allocations: 2.763 MB / 0.6154 GB, free: 8.902 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/0.5292, allocations: 3.962 MB / 0.6193 GB, free: 4.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/0.5292, allocations: 20 kB / 0.6193 GB, free: 3.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005307/0.5345, allocations: 3.527 MB / 0.6228 GB, free: 472 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.5346, allocations: 32 kB / 0.6228 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-05/0.5347, allocations: 68 kB / 0.6229 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.03e-05/0.5348, allocations: 88 kB / 0.6229 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.5366, allocations: 0.6628 MB / 0.6236 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000117/0.5367, allocations: 127.5 kB / 0.6237 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5384, allocations: 416 kB / 0.6241 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.5387, allocations: 195.9 kB / 0.6243 GB, free: 14.89 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.001861/0.5405, allocations: 1.33 MB / 0.6256 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.5408, allocations: 153.9 kB / 0.6257 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.5412, allocations: 200.9 kB / 0.6259 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.5412, allocations: 11.94 kB / 0.6259 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5412, allocations: 4 kB / 0.6259 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5412, allocations: 0 / 0.6259 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/0.5474, allocations: 4.028 MB / 0.6299 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.5475, allocations: 4.844 kB / 0.6299 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.5479, allocations: 103.8 kB / 0.63 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.5479, allocations: 12 kB / 0.63 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.548, allocations: 23.98 kB / 0.63 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.548, allocations: 11.94 kB / 0.63 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.548, allocations: 8 kB / 0.63 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.5495, allocations: 1.266 MB / 0.6313 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.5499, allocations: 242.8 kB / 0.6315 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.55, allocations: 23.98 kB / 0.6315 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.5505, allocations: 27.89 kB / 0.6315 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5506, allocations: 63.75 kB / 0.6316 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.5507, allocations: 27.98 kB / 0.6316 GB, free: 7.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001654/0.5523, allocations: 1.271 MB / 0.6329 GB, free: 5.809 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5523, allocations: 0 / 0.6329 GB, free: 5.809 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002545/0.5549, allocations: 0.6766 MB / 0.6335 GB, free: 5.129 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.0003211/0.5552, allocations: 150.9 kB / 0.6337 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.5583, allocations: 2.054 MB / 0.6357 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5583, allocations: 0 / 0.6357 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.559, allocations: 465 kB / 0.6361 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.5605, allocations: 250 kB / 0.6364 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008866/0.5693, allocations: 5.045 MB / 0.6413 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.572, allocations: 2.279 MB / 0.6435 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002101/0.5741, allocations: 0.9558 MB / 0.6445 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.5744, allocations: 123.4 kB / 0.6446 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.5744, allocations: 0 / 0.6446 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of Templates: time 0.03082/0.6052, allocations: 14.99 MB / 0.6592 GB, free: 10.73 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 -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