Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 108.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.53 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1271, allocations: 62.44 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2843/0.4114, allocations: 84.39 MB / 0.5507 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03795/0.4494, allocations: 16.17 MB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02197/0.4714, allocations: 384.8 kB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.4826, allocations: 5.778 MB / 0.5725 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008639/0.4913, allocations: 2.554 MB / 0.5749 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.4951, allocations: 1.506 MB / 0.5764 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.506, allocations: 7.804 MB / 0.584 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.5182, allocations: 7.772 MB / 0.5916 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006773/0.525, allocations: 3.05 MB / 0.5946 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007248/0.5323, allocations: 4.207 MB / 0.5987 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002525/0.5349, allocations: 0.5703 MB / 0.5993 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.5392, allocations: 1.408 MB / 0.6006 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00582/0.5451, allocations: 3.515 MB / 0.6041 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009058/0.5542, allocations: 3.86 MB / 0.6078 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.017/0.5712, allocations: 11.3 MB / 0.6189 GB, free: 8.211 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5713, allocations: 0 / 0.6189 GB, free: 8.211 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5713, allocations: 0 / 0.6189 GB, free: 8.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005552/0.5718, allocations: 0 / 0.6189 GB, free: 8.211 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02109/0.5929, allocations: 8.456 MB / 0.6271 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.593, allocations: 8.031 kB / 0.6272 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.6038, allocations: 2.471 MB / 0.6296 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009983/0.6138, allocations: 4.399 MB / 0.6339 GB, free: 8.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006192/0.6145, allocations: 423 kB / 0.6343 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.6172, allocations: 0.5465 MB / 0.6348 GB, free: 7.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03962/0.6568, allocations: 16.68 MB / 0.6511 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003425/0.6572, allocations: 75.31 kB / 0.6512 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002072/0.6593, allocations: 263.8 kB / 0.6514 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004797/0.6641, allocations: 2.931 MB / 0.6543 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03075/0.6949, allocations: 12.78 MB / 0.6668 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5653/1.26, allocations: 64.28 MB / 0.7295 GB, free: 153.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.276, allocations: 5.382 MB / 0.7348 GB, free: 152.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/1.28, allocations: 2.12 MB / 0.7369 GB, free: 152.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/1.295, allocations: 9.928 MB / 0.7466 GB, free: 148.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.295, allocations: 62.56 kB / 0.7466 GB, free: 148.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 6.512e-06/1.295, allocations: 0 / 0.7466 GB, free: 148.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03344/1.328, allocations: 13.95 MB / 0.7602 GB, free: 142.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.328, allocations: 148 kB / 0.7604 GB, free: 142.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006904/1.335, allocations: 6.295 MB / 0.7665 GB, free: 139.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000331/1.336, allocations: 55.17 kB / 0.7666 GB, free: 139.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002584/1.338, allocations: 5.073 MB / 0.7715 GB, free: 135.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.339, allocations: 0.8169 MB / 0.7723 GB, free: 134.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/1.34, allocations: 1.68 MB / 0.774 GB, free: 133.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.463e-05/1.34, allocations: 308.5 kB / 0.7743 GB, free: 133.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/1.343, allocations: 2.325 MB / 0.7765 GB, free: 132.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004534/1.348, allocations: 7.675 MB / 0.784 GB, free: 123 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008096/1.356, allocations: 10.86 MB / 0.7946 GB, free: 109.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.356, allocations: 56 kB / 0.7947 GB, free: 109.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01484/1.371, allocations: 9.654 MB / 0.8041 GB, free: 100.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.371, allocations: 88 kB / 0.8042 GB, free: 100 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/1.371, allocations: 195.7 kB / 0.8044 GB, free: 99.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/1.371, allocations: 248.8 kB / 0.8046 GB, free: 99.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/1.376, allocations: 1.934 MB / 0.8065 GB, free: 97.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001617/1.377, allocations: 370.6 kB / 0.8069 GB, free: 97.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/1.382, allocations: 407.5 kB / 0.8073 GB, free: 96.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006628/1.383, allocations: 0.5193 MB / 0.8078 GB, free: 96.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.004111/1.387, allocations: 3.286 MB / 0.811 GB, free: 93.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000781/1.387, allocations: 0.5205 MB / 0.8115 GB, free: 92.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009317/1.388, allocations: 0.624 MB / 0.8121 GB, free: 91.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/1.388, allocations: 30.48 kB / 0.8121 GB, free: 91.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.388, allocations: 3.984 kB / 0.8121 GB, free: 91.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.388, allocations: 7.969 kB / 0.8121 GB, free: 91.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.408, allocations: 14.99 MB / 0.8268 GB, free: 76.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/1.408, allocations: 51.98 kB / 0.8268 GB, free: 76.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.409, allocations: 439.4 kB / 0.8272 GB, free: 75.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.582e-05/1.409, allocations: 60 kB / 0.8273 GB, free: 75.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.409, allocations: 111.9 kB / 0.8274 GB, free: 75.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.702e-05/1.409, allocations: 87.66 kB / 0.8275 GB, free: 75.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-05/1.409, allocations: 75.69 kB / 0.8276 GB, free: 75.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/1.413, allocations: 4.3 MB / 0.8318 GB, free: 70.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.414, allocations: 0.6305 MB / 0.8324 GB, free: 69.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/1.414, allocations: 112 kB / 0.8325 GB, free: 69.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.416, allocations: 104 kB / 0.8326 GB, free: 69.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.416, allocations: 314.5 kB / 0.8329 GB, free: 69.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.416, allocations: 131.9 kB / 0.833 GB, free: 69.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004916/1.421, allocations: 3.931 MB / 0.8368 GB, free: 65.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.51e-07/1.421, allocations: 3.938 kB / 0.8368 GB, free: 65.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007797/1.429, allocations: 1.316 MB / 0.8381 GB, free: 63.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0008469/1.43, allocations: 268.3 kB / 0.8384 GB, free: 63.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007789/1.438, allocations: 5.554 MB / 0.8438 GB, free: 58.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.764e-05/1.438, allocations: 4 kB / 0.8438 GB, free: 58.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/1.44, allocations: 1.198 MB / 0.845 GB, free: 56.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00593/1.445, allocations: 0.8832 MB / 0.8458 GB, free: 56.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/1.469, allocations: 18.63 MB / 0.864 GB, free: 36.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005466/1.474, allocations: 5.068 MB / 0.869 GB, free: 31.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005826/1.48, allocations: 2.542 MB / 0.8715 GB, free: 29.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/1.481, allocations: 363.4 kB / 0.8718 GB, free: 28.77 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/1.481, allocations: 0 / 0.8718 GB, free: 28.77 MB / 0.545 GB Notification: Performance of Templates: time 0.07774/1.559, allocations: 43.62 MB / 0.9144 GB, free: 1.402 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches