Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 181.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008321/0.000832, allocations: 90.62 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2111/0.2111, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.389e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4701, allocations: 101.4 MB / 0.5649 GB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4704, allocations: 76.12 kB / 0.565 GB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/0.608, allocations: 55.76 MB / 0.6195 GB, free: 10.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.608, allocations: 0 / 0.6195 GB, free: 10.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.6082, allocations: 52 kB / 0.6195 GB, free: 10.67 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.008592/0.6168, allocations: 2.679 MB / 0.6221 GB, free: 7.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.6168, allocations: 12.02 kB / 0.6221 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008711/0.6255, allocations: 1.837 MB / 0.6239 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/0.6313, allocations: 1.762 MB / 0.6257 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.6315, allocations: 96 kB / 0.6258 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001636/0.6332, allocations: 168 kB / 0.6259 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01002/0.6432, allocations: 4.485 MB / 0.6303 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.6591, allocations: 6.236 MB / 0.6364 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/0.6592, allocations: 15.81 kB / 0.6364 GB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003579/0.6596, allocations: 12 kB / 0.6364 GB, free: 8.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009655/0.6605, allocations: 0.7125 MB / 0.6371 GB, free: 8.168 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03468/0.6952, allocations: 23.6 MB / 0.6602 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.6975, allocations: 1.528 MB / 0.6616 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.6984, allocations: 0.586 MB / 0.6622 GB, free: 13.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.6985, allocations: 13.94 kB / 0.6622 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.6986, allocations: 47.34 kB / 0.6623 GB, free: 13.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 4.428e-06/0.6986, allocations: 0 / 0.6623 GB, free: 13.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.003502/0.7021, allocations: 1.487 MB / 0.6637 GB, free: 11.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.7022, allocations: 60.19 kB / 0.6638 GB, free: 11.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.7054, allocations: 1.651 MB / 0.6654 GB, free: 10.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.7056, allocations: 29.64 kB / 0.6654 GB, free: 10.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.7076, allocations: 2.057 MB / 0.6674 GB, free: 8.148 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/0.7083, allocations: 402.7 kB / 0.6678 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.7084, allocations: 4 kB / 0.6678 GB, free: 7.746 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004214/0.7089, allocations: 0.4984 MB / 0.6683 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.7103, allocations: 0.9323 MB / 0.6692 GB, free: 6.305 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002982/0.7133, allocations: 3.092 MB / 0.6722 GB, free: 2.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.7158, allocations: 1.729 MB / 0.6739 GB, free: 408 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/0.7159, allocations: 24 kB / 0.674 GB, free: 384 kB / 474.7 MB Notification: Performance of matching and sorting (n=459) (initialization): time 0.007138/0.7231, allocations: 3.55 MB / 0.6774 GB, free: 12.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.7232, allocations: 40 kB / 0.6775 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.7233, allocations: 80.12 kB / 0.6775 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.7234, allocations: 115.9 kB / 0.6776 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.7261, allocations: 0.7915 MB / 0.6784 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000126/0.7262, allocations: 151.4 kB / 0.6786 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.7285, allocations: 391.2 kB / 0.6789 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.7288, allocations: 216 kB / 0.6791 GB, free: 11.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 24 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 432 * 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.0004222/0.7292, allocations: 297.2 kB / 0.6794 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.7295, allocations: 181.7 kB / 0.6796 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.7317, allocations: 1.346 MB / 0.6809 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.7317, allocations: 15.94 kB / 0.6809 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7317, allocations: 0 / 0.6809 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.7317, allocations: 7.984 kB / 0.6809 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008298/0.7401, allocations: 4.74 MB / 0.6856 GB, free: 4.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.7401, allocations: 12 kB / 0.6856 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.7408, allocations: 155.7 kB / 0.6857 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/0.7408, allocations: 16.78 kB / 0.6857 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.7409, allocations: 23.98 kB / 0.6858 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/0.7409, allocations: 23.94 kB / 0.6858 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/0.7409, allocations: 15.94 kB / 0.6858 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.7435, allocations: 2.359 MB / 0.6881 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.7439, allocations: 250.6 kB / 0.6883 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.7441, allocations: 15.98 kB / 0.6884 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.7446, allocations: 27.97 kB / 0.6884 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7447, allocations: 91.92 kB / 0.6885 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.7448, allocations: 44 kB / 0.6885 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001769/0.7466, allocations: 1.111 MB / 0.6896 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7466, allocations: 0 / 0.6896 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003295/0.7499, allocations: 0.7151 MB / 0.6903 GB, free: 15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0003756/0.7503, allocations: 146.8 kB / 0.6904 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003681/0.754, allocations: 2.223 MB / 0.6926 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.754, allocations: 1.125 kB / 0.6926 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.7548, allocations: 0.5981 MB / 0.6932 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.756, allocations: 176.3 kB / 0.6934 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.7665, allocations: 4.8 MB / 0.6981 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.7693, allocations: 2.518 MB / 0.7005 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002998/0.7723, allocations: 1.172 MB / 0.7017 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.7727, allocations: 127.4 kB / 0.7018 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.7727, allocations: 0 / 0.7018 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of Templates: time 0.281/1.054, allocations: 12.54 MB / 0.714 GB, free: 141.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches