Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 93.19 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 182.6 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.22 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003212, allocations: 8 kB / 409.5 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 61.92 MB / 471.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3478/0.4732, allocations: 85.22 MB / 0.5436 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05072/0.524, allocations: 18.98 MB / 0.5622 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0271/0.5512, allocations: 440.9 kB / 0.5626 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01915/0.5703, allocations: 4.369 MB / 0.5668 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04435/0.6147, allocations: 12.26 MB / 0.5788 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006719/0.6215, allocations: 1.241 MB / 0.58 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00953/0.631, allocations: 4.296 MB / 0.5842 GB, free: 240 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.6454, allocations: 8.975 MB / 0.593 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.6505, allocations: 1.967 MB / 0.5949 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/0.6561, allocations: 2.407 MB / 0.5973 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.6578, allocations: 252 kB / 0.5975 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.6618, allocations: 0.948 MB / 0.5984 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004507/0.6663, allocations: 2.919 MB / 0.6013 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.6693, allocations: 1.438 MB / 0.6027 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.6822, allocations: 9.282 MB / 0.6117 GB, free: 3.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6822, allocations: 0 / 0.6117 GB, free: 3.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6822, allocations: 0 / 0.6117 GB, free: 3.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005088/0.6827, allocations: 0 / 0.6117 GB, free: 3.926 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01878/0.7015, allocations: 7.51 MB / 0.6191 GB, free: 12.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.7016, allocations: 8.031 kB / 0.6191 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.7144, allocations: 3 MB / 0.622 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.7278, allocations: 4.905 MB / 0.6268 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/0.7283, allocations: 438.9 kB / 0.6272 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003092/0.7314, allocations: 0.5543 MB / 0.6278 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03556/0.767, allocations: 17.58 MB / 0.6449 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/0.7673, allocations: 75.31 kB / 0.645 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.7686, allocations: 271.7 kB / 0.6453 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004906/0.7735, allocations: 3.17 MB / 0.6484 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/0.8059, allocations: 13.57 MB / 0.6616 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5839/1.39, allocations: 66.22 MB / 0.7263 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.406, allocations: 5.395 MB / 0.7315 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/1.425, allocations: 10.14 MB / 0.7414 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/1.425, allocations: 53.81 kB / 0.7415 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.42e-06/1.425, allocations: 0.75 kB / 0.7415 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03856/1.464, allocations: 14.58 MB / 0.7557 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/1.464, allocations: 148.7 kB / 0.7559 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009223/1.473, allocations: 6.82 MB / 0.7625 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004323/1.473, allocations: 56.17 kB / 0.7626 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003206/1.477, allocations: 5.248 MB / 0.7677 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000901/1.477, allocations: 0.8151 MB / 0.7685 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/1.478, allocations: 163.1 kB / 0.7687 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003673/1.478, allocations: 0.6593 MB / 0.7693 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/1.481, allocations: 2.287 MB / 0.7715 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/1.488, allocations: 7.658 MB / 0.779 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0061/1.494, allocations: 4.038 MB / 0.783 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/1.494, allocations: 56 kB / 0.783 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.016/1.51, allocations: 9.597 MB / 0.7924 GB, free: 98.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.51, allocations: 88 kB / 0.7925 GB, free: 98.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/1.51, allocations: 192.1 kB / 0.7927 GB, free: 98.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/1.511, allocations: 284 kB / 0.7929 GB, free: 98.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005678/1.516, allocations: 1.923 MB / 0.7948 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002155/1.517, allocations: 374.5 kB / 0.7952 GB, free: 95.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/1.523, allocations: 415.5 kB / 0.7956 GB, free: 95.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.524, allocations: 0.5181 MB / 0.7961 GB, free: 94.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.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 (1039): * Single equations (assignments): 1028 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008279/1.532, allocations: 3.42 MB / 0.7994 GB, free: 91.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/1.534, allocations: 0.532 MB / 0.7999 GB, free: 90.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/1.536, allocations: 0.629 MB / 0.8005 GB, free: 90.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/1.536, allocations: 24 kB / 0.8006 GB, free: 90.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/1.536, allocations: 0 / 0.8006 GB, free: 90.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/1.536, allocations: 7.969 kB / 0.8006 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/1.56, allocations: 15.28 MB / 0.8155 GB, free: 74.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.125e-05/1.561, allocations: 48 kB / 0.8155 GB, free: 74.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.562, allocations: 447.2 kB / 0.816 GB, free: 73.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.507e-05/1.562, allocations: 64 kB / 0.816 GB, free: 73.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.562, allocations: 104 kB / 0.8161 GB, free: 73.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-05/1.562, allocations: 91.64 kB / 0.8162 GB, free: 73.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.229e-05/1.562, allocations: 75.62 kB / 0.8163 GB, free: 73.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/1.569, allocations: 12.33 MB / 0.8283 GB, free: 59.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/1.572, allocations: 0.6616 MB / 0.829 GB, free: 58.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008894/1.573, allocations: 109.4 kB / 0.8291 GB, free: 58.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.575, allocations: 115.9 kB / 0.8292 GB, free: 58.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.575, allocations: 310.7 kB / 0.8295 GB, free: 57.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.575, allocations: 131.9 kB / 0.8296 GB, free: 57.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006171/1.581, allocations: 4.313 MB / 0.8338 GB, free: 53.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/1.581, allocations: 4 kB / 0.8338 GB, free: 53.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00814/1.59, allocations: 1.376 MB / 0.8352 GB, free: 52.06 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006546/1.59, allocations: 297.9 kB / 0.8355 GB, free: 51.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008088/1.598, allocations: 5.307 MB / 0.8406 GB, free: 46.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.101e-05/1.598, allocations: 8 kB / 0.8406 GB, free: 46.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/1.6, allocations: 1.198 MB / 0.8418 GB, free: 45.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/1.605, allocations: 0.8465 MB / 0.8426 GB, free: 44.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.629, allocations: 18.37 MB / 0.8606 GB, free: 25.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006383/1.636, allocations: 5.402 MB / 0.8659 GB, free: 19.97 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006477/1.642, allocations: 2.578 MB / 0.8684 GB, free: 17.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000904/1.643, allocations: 371.4 kB / 0.8687 GB, free: 17.02 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.643, allocations: 0 / 0.8687 GB, free: 17.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.0893/1.732, allocations: 42.81 MB / 0.9105 GB, free: 6.469 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches