Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.479/1.479, 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.0008457/0.0008458, allocations: 82.64 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.1941/0.1941, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.753e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3965/0.5051, allocations: 104.5 MB / 0.5679 GB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5054, allocations: 81.77 kB / 0.568 GB, free: 7.164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1629/0.6683, allocations: 64.94 MB / 0.6314 GB, free: 14.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.6684, allocations: 0 / 0.6314 GB, free: 14.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001666/0.6686, allocations: 68 kB / 0.6315 GB, free: 14.37 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.00985/0.6784, allocations: 3.129 MB / 0.6346 GB, free: 11.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.6785, allocations: 8.031 kB / 0.6346 GB, free: 11.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009511/0.688, allocations: 1.953 MB / 0.6365 GB, free: 9.207 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/0.6947, allocations: 2.04 MB / 0.6385 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.6951, allocations: 120 kB / 0.6386 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.6975, allocations: 211.9 kB / 0.6388 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01198/0.7095, allocations: 5.379 MB / 0.644 GB, free: 1.414 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.7296, allocations: 7.405 MB / 0.6513 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.7299, allocations: 15.88 kB / 0.6513 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/0.7313, allocations: 15.95 kB / 0.6513 GB, free: 9.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.7326, allocations: 0.8191 MB / 0.6521 GB, free: 8.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04237/0.775, allocations: 26.61 MB / 0.6781 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.7775, allocations: 1.729 MB / 0.6798 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009798/0.7785, allocations: 0.7159 MB / 0.6805 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.201e-05/0.7786, allocations: 22.77 kB / 0.6805 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.7786, allocations: 43.88 kB / 0.6805 GB, free: 10.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 4.779e-06/0.7786, allocations: 0 / 0.6805 GB, free: 10.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.004219/0.7829, allocations: 1.853 MB / 0.6823 GB, free: 8.938 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.7829, allocations: 64.72 kB / 0.6824 GB, free: 8.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.7857, allocations: 1.774 MB / 0.6841 GB, free: 7.047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.7859, allocations: 25.7 kB / 0.6842 GB, free: 7.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.7873, allocations: 2.356 MB / 0.6865 GB, free: 4.625 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004628/0.7878, allocations: 489.5 kB / 0.6869 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.7879, allocations: 4 kB / 0.6869 GB, free: 4.137 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.7882, allocations: 0.5227 MB / 0.6874 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.7897, allocations: 1.054 MB / 0.6885 GB, free: 2.551 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.7927, allocations: 3.341 MB / 0.6917 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.7954, allocations: 1.91 MB / 0.6936 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-05/0.7954, allocations: 24 kB / 0.6936 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006739/0.8022, allocations: 3.938 MB / 0.6975 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.8023, allocations: 40 kB / 0.6975 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.086e-05/0.8024, allocations: 84 kB / 0.6976 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.8025, allocations: 120 kB / 0.6977 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.8051, allocations: 0.885 MB / 0.6986 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001047/0.8053, allocations: 159.4 kB / 0.6987 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.8079, allocations: 430.9 kB / 0.6991 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/0.8083, allocations: 247.9 kB / 0.6994 GB, free: 6.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (484): * Single equations (assignments): 481 * 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.0004988/0.8088, allocations: 316.1 kB / 0.6997 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.8091, allocations: 193.5 kB / 0.6998 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.8117, allocations: 1.61 MB / 0.7014 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.8117, allocations: 12 kB / 0.7014 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8117, allocations: 0 / 0.7014 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.8117, allocations: 7.969 kB / 0.7014 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3332/1.145, allocations: 7.039 MB / 0.7083 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/1.145, allocations: 18.16 kB / 0.7083 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/1.146, allocations: 212.6 kB / 0.7085 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-05/1.146, allocations: 23.62 kB / 0.7086 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.146, allocations: 26.64 kB / 0.7086 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.722e-05/1.146, allocations: 31.06 kB / 0.7086 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.373e-05/1.146, allocations: 24.91 kB / 0.7086 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/1.15, allocations: 3.213 MB / 0.7118 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/1.15, allocations: 282.7 kB / 0.712 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/1.15, allocations: 23.34 kB / 0.7121 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/1.151, allocations: 41.58 kB / 0.7121 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/1.151, allocations: 118.9 kB / 0.7122 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.152, allocations: 57.7 kB / 0.7123 GB, free: 132 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002187/1.154, allocations: 1.172 MB / 0.7134 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.393e-06/1.154, allocations: 3.656 kB / 0.7134 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004067/1.158, allocations: 0.8792 MB / 0.7143 GB, free: 131.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0005547/1.158, allocations: 159.6 kB / 0.7144 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004984/1.163, allocations: 2.52 MB / 0.7169 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.163, allocations: 2.406 kB / 0.7169 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.165, allocations: 0.7283 MB / 0.7176 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/1.166, allocations: 205 kB / 0.7178 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.18, allocations: 5.826 MB / 0.7235 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003928/1.184, allocations: 2.905 MB / 0.7263 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003055/1.187, allocations: 1.289 MB / 0.7276 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/1.187, allocations: 148.6 kB / 0.7277 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/1.187, allocations: 3.5 kB / 0.7277 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.03215/1.219, allocations: 14.53 MB / 0.7419 GB, free: 128.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches