Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009038, allocations: 98.98 kB / 281.6 MB, free: 5.316 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.1831/0.1831, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.717e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.5169, allocations: 102.1 MB / 0.5944 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5173, allocations: 75.97 kB / 0.5945 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1379/0.6552, allocations: 52.55 MB / 0.6458 GB, free: 5.371 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6553, allocations: 0 / 0.6458 GB, free: 5.371 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001957/0.6555, allocations: 52 kB / 0.6458 GB, free: 5.32 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.01112/0.6666, allocations: 2.523 MB / 0.6483 GB, free: 2.742 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.6667, allocations: 19.92 kB / 0.6483 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.6787, allocations: 1.79 MB / 0.6501 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006053/0.6848, allocations: 1.668 MB / 0.6517 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.685, allocations: 92 kB / 0.6518 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.6862, allocations: 156 kB / 0.6519 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01099/0.6972, allocations: 4.144 MB / 0.656 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.7133, allocations: 5.772 MB / 0.6616 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.451e-05/0.7135, allocations: 15.81 kB / 0.6616 GB, free: 4.684 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004623/0.7139, allocations: 12 kB / 0.6616 GB, free: 4.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/0.7153, allocations: 0.6417 MB / 0.6623 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.7578, allocations: 22.15 MB / 0.6839 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.7604, allocations: 1.382 MB / 0.6853 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.7614, allocations: 498.8 kB / 0.6857 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.7615, allocations: 12.64 kB / 0.6857 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.7615, allocations: 47.05 kB / 0.6858 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 4.468e-06/0.7615, allocations: 0 / 0.6858 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.005089/0.7666, allocations: 1.313 MB / 0.6871 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.7667, allocations: 59.97 kB / 0.6871 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/0.7703, allocations: 1.576 MB / 0.6887 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.7704, allocations: 25.7 kB / 0.6887 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.7724, allocations: 1.914 MB / 0.6906 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.773, allocations: 351.5 kB / 0.6909 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.7732, allocations: 4 kB / 0.6909 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000446/0.7736, allocations: 497.6 kB / 0.6914 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.7755, allocations: 0.834 MB / 0.6922 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.7791, allocations: 2.844 MB / 0.695 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.7824, allocations: 1.572 MB / 0.6965 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.298e-05/0.7824, allocations: 20 kB / 0.6965 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.00998/0.7924, allocations: 3.229 MB / 0.6997 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.7926, allocations: 37.41 kB / 0.6997 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.7927, allocations: 72 kB / 0.6998 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.7929, allocations: 108 kB / 0.6999 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.7966, allocations: 0.7135 MB / 0.7006 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001573/0.7968, allocations: 139.4 kB / 0.7007 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.8002, allocations: 371.9 kB / 0.7011 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.8007, allocations: 204 kB / 0.7013 GB, free: 10.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (393): * Single equations (assignments): 390 * 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.0005908/0.8013, allocations: 286.2 kB / 0.7015 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.8017, allocations: 157.9 kB / 0.7017 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.8046, allocations: 1.143 MB / 0.7028 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.8047, allocations: 8 kB / 0.7028 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8047, allocations: 0 / 0.7028 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.8047, allocations: 3.984 kB / 0.7028 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009286/0.814, allocations: 3.722 MB / 0.7064 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.8141, allocations: 4 kB / 0.7064 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.8149, allocations: 123.9 kB / 0.7066 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.43e-05/0.8149, allocations: 15.95 kB / 0.7066 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.815, allocations: 15.98 kB / 0.7066 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.815, allocations: 8 kB / 0.7066 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.8151, allocations: 16.39 kB / 0.7066 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.818, allocations: 1.807 MB / 0.7084 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.8185, allocations: 238.7 kB / 0.7086 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.8188, allocations: 11.95 kB / 0.7086 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.8196, allocations: 15.98 kB / 0.7086 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8198, allocations: 63.83 kB / 0.7087 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.8199, allocations: 31.98 kB / 0.7087 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002481/0.8224, allocations: 1.042 MB / 0.7098 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8224, allocations: 0 / 0.7098 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004885/0.8273, allocations: 0.6606 MB / 0.7104 GB, free: 280 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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.0005102/0.8278, allocations: 150.9 kB / 0.7105 GB, free: 120 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.374/1.202, allocations: 1.969 MB / 0.7125 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.202, allocations: 2.188 kB / 0.7125 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/1.203, allocations: 0.5016 MB / 0.713 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/1.204, allocations: 177.4 kB / 0.7131 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/1.213, allocations: 4.298 MB / 0.7173 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/1.215, allocations: 2.386 MB / 0.7196 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003066/1.219, allocations: 1.076 MB / 0.7207 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/1.219, allocations: 118.8 kB / 0.7208 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.694e-06/1.219, allocations: 3.25 kB / 0.7208 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.028/1.247, allocations: 11.5 MB / 0.7321 GB, free: 146.2 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches