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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 91.92 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3232/0.3232, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3495, allocations: 61.9 MB / 0.5096 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4748, allocations: 106 MB / 0.6131 GB, free: 5.113 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.4751, allocations: 91.95 kB / 0.6132 GB, free: 5.023 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5679/1.043, allocations: 151.3 MB / 0.7609 GB, free: 80.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.043, allocations: 0 / 0.7609 GB, free: 80.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003381/1.043, allocations: 145.6 kB / 0.761 GB, free: 80.47 MB / 490.7 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.02116/1.065, allocations: 7.893 MB / 0.7687 GB, free: 75.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.065, allocations: 11.39 kB / 0.7687 GB, free: 75.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/1.081, allocations: 3.519 MB / 0.7722 GB, free: 72.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/1.104, allocations: 8.81 MB / 0.7808 GB, free: 64.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/1.104, allocations: 0.5616 MB / 0.7813 GB, free: 63.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003674/1.108, allocations: 0.7419 MB / 0.7821 GB, free: 62.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03682/1.145, allocations: 17.76 MB / 0.7994 GB, free: 43.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003324/1.145, allocations: 95.12 kB / 0.7995 GB, free: 43.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/1.148, allocations: 355.8 kB / 0.7998 GB, free: 43.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002158/1.15, allocations: 1.625 MB / 0.8014 GB, free: 41.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02954/1.179, allocations: 13.85 MB / 0.8149 GB, free: 27.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3453/1.525, allocations: 74.58 MB / 0.8878 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.539, allocations: 5.276 MB / 0.8929 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/1.555, allocations: 9.968 MB / 0.9027 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.555, allocations: 56.52 kB / 0.9027 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.3e-06/1.555, allocations: 0 / 0.9027 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.03372/1.589, allocations: 14.31 MB / 0.9167 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/1.589, allocations: 150.4 kB / 0.9168 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009975/1.599, allocations: 5.692 MB / 0.9224 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003244/1.599, allocations: 54.33 kB / 0.9224 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003563/1.603, allocations: 5.304 MB / 0.9276 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008955/1.604, allocations: 0.82 MB / 0.9284 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/1.604, allocations: 159.3 kB / 0.9286 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004188/1.605, allocations: 0.6476 MB / 0.9292 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/1.608, allocations: 2.264 MB / 0.9314 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005933/1.614, allocations: 7.583 MB / 0.9388 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006953/1.621, allocations: 4.009 MB / 0.9427 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002138/1.622, allocations: 53 kB / 0.9428 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01882/1.64, allocations: 9.502 MB / 0.9521 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.641, allocations: 87.72 kB / 0.9521 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/1.641, allocations: 190.6 kB / 0.9523 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/1.641, allocations: 276.9 kB / 0.9526 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/1.647, allocations: 1.995 MB / 0.9545 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002092/1.647, allocations: 368 kB / 0.9549 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007025/1.654, allocations: 0.5799 MB / 0.9555 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.655, allocations: 0.4937 MB / 0.9559 GB, free: 32.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1028 * 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 prepare postOptimizeDAE: time 0.005778/1.661, allocations: 3.4 MB / 0.9593 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.662, allocations: 0.5403 MB / 0.9598 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.664, allocations: 0.6483 MB / 0.9604 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/1.664, allocations: 22.91 kB / 0.9604 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.664, allocations: 2.5 kB / 0.9604 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.664, allocations: 9.984 kB / 0.9605 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02335/1.687, allocations: 15.11 MB / 0.9752 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-05/1.687, allocations: 48.06 kB / 0.9753 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.688, allocations: 429.5 kB / 0.9757 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.4e-05/1.688, allocations: 69.53 kB / 0.9757 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.689, allocations: 98.44 kB / 0.9758 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.089e-05/1.689, allocations: 89.02 kB / 0.9759 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.584e-05/1.689, allocations: 73.33 kB / 0.976 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/1.694, allocations: 11.91 MB / 0.9876 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.695, allocations: 0.6385 MB / 0.9882 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/1.696, allocations: 106.6 kB / 0.9883 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.698, allocations: 174 kB / 0.9885 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/1.698, allocations: 295.6 kB / 0.9888 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.698, allocations: 127.9 kB / 0.9889 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006494/1.705, allocations: 4.041 MB / 0.9929 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.5e-07/1.705, allocations: 0 / 0.9929 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007692/1.713, allocations: 1.353 MB / 0.9942 GB, free: 8.277 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * 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 (230): * Single equations (assignments): 227 * 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.0006099/1.713, allocations: 280.2 kB / 0.9944 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007816/1.721, allocations: 5.218 MB / 0.9995 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/1.721, allocations: 4 kB / 0.9995 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.723, allocations: 1.164 MB / 1.001 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/1.727, allocations: 0.8419 MB / 1.001 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/1.758, allocations: 18.28 MB / 1.019 GB, free: 160 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/1.77, allocations: 5.628 MB / 1.025 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007878/1.778, allocations: 2.583 MB / 1.027 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.779, allocations: 353.9 kB / 1.028 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/1.779, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of Templates: time 0.0886/1.867, allocations: 42.01 MB / 1.069 GB, free: 6.574 MB / 0.573 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