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.002193/0.002192, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00286/0.00286, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.81 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3688, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.0174/0.3863, allocations: 15 MB / 0.5456 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.3999, allocations: 5.038 MB / 0.5506 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004495/0.4044, allocations: 119.7 kB / 0.5507 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.4171, allocations: 5.974 MB / 0.5565 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008281/0.4255, allocations: 2.735 MB / 0.5592 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.4294, allocations: 1.579 MB / 0.5607 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.441, allocations: 7.784 MB / 0.5683 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009604/0.4506, allocations: 7.376 MB / 0.5755 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.4555, allocations: 2.972 MB / 0.5784 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007402/0.463, allocations: 3.778 MB / 0.5821 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.4651, allocations: 0.5703 MB / 0.5827 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/0.4694, allocations: 1.389 MB / 0.584 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005208/0.4746, allocations: 3.456 MB / 0.5874 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007705/0.4824, allocations: 3.833 MB / 0.5911 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.5007, allocations: 11.64 MB / 0.6025 GB, free: 8.207 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5007, allocations: 0 / 0.6025 GB, free: 8.207 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5007, allocations: 0 / 0.6025 GB, free: 8.207 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005313/0.5013, allocations: 3.938 kB / 0.6025 GB, free: 8.203 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.01956/0.5208, allocations: 8.684 MB / 0.611 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5209, allocations: 8.031 kB / 0.611 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.5313, allocations: 2.527 MB / 0.6135 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009242/0.5405, allocations: 4.528 MB / 0.6179 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.5409, allocations: 430.6 kB / 0.6183 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.5425, allocations: 0.5387 MB / 0.6188 GB, free: 7.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.5749, allocations: 16.69 MB / 0.6351 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003297/0.5753, allocations: 75.39 kB / 0.6352 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/0.5771, allocations: 259.8 kB / 0.6355 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004374/0.5815, allocations: 2.924 MB / 0.6383 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/0.6076, allocations: 12.78 MB / 0.6508 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07992/0.6875, allocations: 64.09 MB / 0.7134 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5691/1.257, allocations: 5.372 MB / 0.7186 GB, free: 159.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/1.26, allocations: 2.128 MB / 0.7207 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/1.277, allocations: 9.948 MB / 0.7304 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/1.277, allocations: 52.72 kB / 0.7305 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 3.837e-06/1.277, allocations: 3.469 kB / 0.7305 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.04059/1.318, allocations: 14.35 MB / 0.7445 GB, free: 149 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/1.318, allocations: 153 kB / 0.7446 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00817/1.326, allocations: 6.299 MB / 0.7508 GB, free: 145.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000372/1.326, allocations: 53.7 kB / 0.7508 GB, free: 145.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/1.329, allocations: 5.278 MB / 0.756 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007824/1.33, allocations: 0.8584 MB / 0.7568 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/1.332, allocations: 1.686 MB / 0.7585 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/1.332, allocations: 303.9 kB / 0.7588 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/1.335, allocations: 2.327 MB / 0.761 GB, free: 135 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/1.339, allocations: 7.677 MB / 0.7685 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009429/1.349, allocations: 10.87 MB / 0.7792 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/1.349, allocations: 52 kB / 0.7792 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01618/1.365, allocations: 9.676 MB / 0.7887 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001966/1.365, allocations: 91.98 kB / 0.7887 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/1.366, allocations: 191.9 kB / 0.7889 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/1.366, allocations: 252 kB / 0.7892 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/1.372, allocations: 1.923 MB / 0.791 GB, free: 99.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002977/1.372, allocations: 370.5 kB / 0.7914 GB, free: 98.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007179/1.379, allocations: 419.2 kB / 0.7918 GB, free: 98.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.381, allocations: 0.5117 MB / 0.7923 GB, free: 97.82 MB / 0.5607 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.005978/1.387, allocations: 3.296 MB / 0.7955 GB, free: 94.52 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.388, allocations: 0.551 MB / 0.796 GB, free: 93.96 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.39, allocations: 0.6201 MB / 0.7967 GB, free: 93.33 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/1.39, allocations: 24 kB / 0.7967 GB, free: 93.31 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/1.39, allocations: 4 kB / 0.7967 GB, free: 93.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/1.39, allocations: 7.969 kB / 0.7967 GB, free: 93.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.413, allocations: 14.99 MB / 0.8113 GB, free: 77.63 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001385/1.413, allocations: 49.12 kB / 0.8114 GB, free: 77.58 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.415, allocations: 455 kB / 0.8118 GB, free: 77.14 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/1.415, allocations: 60 kB / 0.8119 GB, free: 77.08 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003563/1.415, allocations: 107.7 kB / 0.812 GB, free: 76.98 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.817e-05/1.415, allocations: 87.66 kB / 0.8121 GB, free: 76.89 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.463e-05/1.415, allocations: 71.69 kB / 0.8121 GB, free: 76.82 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006272/1.422, allocations: 4.338 MB / 0.8164 GB, free: 71.78 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/1.424, allocations: 0.6552 MB / 0.817 GB, free: 71.11 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/1.426, allocations: 108 kB / 0.8171 GB, free: 71 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.429, allocations: 111.9 kB / 0.8172 GB, free: 70.89 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/1.43, allocations: 310.5 kB / 0.8175 GB, free: 70.59 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.43, allocations: 132 kB / 0.8176 GB, free: 70.46 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007644/1.438, allocations: 3.931 MB / 0.8215 GB, free: 66.54 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.71e-07/1.438, allocations: 0 / 0.8215 GB, free: 66.54 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009849/1.448, allocations: 1.311 MB / 0.8227 GB, free: 65.23 MB / 0.5607 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.0009535/1.449, allocations: 276.4 kB / 0.823 GB, free: 64.95 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008106/1.457, allocations: 5.493 MB / 0.8284 GB, free: 59.5 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-05/1.457, allocations: 8 kB / 0.8284 GB, free: 59.49 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.459, allocations: 1.192 MB / 0.8295 GB, free: 58.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/1.466, allocations: 0.8791 MB / 0.8304 GB, free: 57.44 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.493, allocations: 15.27 MB / 0.8453 GB, free: 41.46 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/1.503, allocations: 5.076 MB / 0.8503 GB, free: 36.35 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006919/1.51, allocations: 2.546 MB / 0.8528 GB, free: 33.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.511, allocations: 359.4 kB / 0.8531 GB, free: 33.45 MB / 0.5607 GB Notification: Performance of SimCode: time 1.302e-06/1.511, allocations: 0 / 0.8531 GB, free: 33.45 MB / 0.5607 GB Notification: Performance of Templates: time 0.08073/1.592, allocations: 38.91 MB / 0.8911 GB, free: 10.83 MB / 0.5763 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