Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002239/0.002239, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 105.2 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4053/0.4053, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.343, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.08172/0.4248, allocations: 99.39 MB / 0.6122 GB, free: 5.887 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05029/0.4751, allocations: 18.97 MB / 0.6307 GB, free: 2.855 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02508/0.5003, allocations: 446.9 kB / 0.6312 GB, free: 2.418 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.5115, allocations: 6.016 MB / 0.637 GB, free: 12.38 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007805/0.5194, allocations: 2.694 MB / 0.6397 GB, free: 9.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.5234, allocations: 1.49 MB / 0.6411 GB, free: 8.188 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0166/0.54, allocations: 11.51 MB / 0.6524 GB, free: 12.66 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.5524, allocations: 7.457 MB / 0.6596 GB, free: 5.109 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/0.5609, allocations: 2.78 MB / 0.6624 GB, free: 2.32 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006961/0.5679, allocations: 4.175 MB / 0.6664 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.5703, allocations: 464 kB / 0.6669 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.5747, allocations: 1.338 MB / 0.6682 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005336/0.58, allocations: 3.518 MB / 0.6716 GB, free: 8.812 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008958/0.589, allocations: 3.879 MB / 0.6754 GB, free: 4.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3455/0.9345, allocations: 11.55 MB / 0.6867 GB, free: 22.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.9346, allocations: 0.5156 kB / 0.6867 GB, free: 22.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.388e-06/0.9346, allocations: 2.844 kB / 0.6867 GB, free: 22.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007437/0.9353, allocations: 2.188 kB / 0.6867 GB, free: 22.8 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.03476/0.9701, allocations: 8.726 MB / 0.6952 GB, free: 19.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9702, allocations: 8.812 kB / 0.6952 GB, free: 19.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.9842, allocations: 2.579 MB / 0.6977 GB, free: 19.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.9978, allocations: 4.488 MB / 0.7021 GB, free: 18.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.9984, allocations: 439.9 kB / 0.7025 GB, free: 18.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003299/1.002, allocations: 0.56 MB / 0.7031 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.037/1.039, allocations: 17.44 MB / 0.7201 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003158/1.039, allocations: 66.28 kB / 0.7202 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/1.041, allocations: 268.7 kB / 0.7204 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004667/1.046, allocations: 3.175 MB / 0.7235 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02852/1.074, allocations: 13.41 MB / 0.7366 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/1.177, allocations: 66.13 MB / 0.8012 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/1.193, allocations: 5.383 MB / 0.8065 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/1.196, allocations: 2.117 MB / 0.8085 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02147/1.218, allocations: 10.01 MB / 0.8183 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/1.218, allocations: 50.12 kB / 0.8184 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=182): time 6.152e-06/1.218, allocations: 0 / 0.8184 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of matching and sorting (n=206): time 0.04259/1.26, allocations: 14.18 MB / 0.8322 GB, free: 9.895 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/1.261, allocations: 148.8 kB / 0.8324 GB, free: 9.723 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/1.271, allocations: 6.38 MB / 0.8386 GB, free: 3.352 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000422/1.272, allocations: 57.7 kB / 0.8386 GB, free: 3.289 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004476/1.276, allocations: 5.24 MB / 0.8438 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.278, allocations: 0.8244 MB / 0.8446 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002536/1.28, allocations: 1.696 MB / 0.8462 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.28, allocations: 305.1 kB / 0.8465 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/1.284, allocations: 2.347 MB / 0.8488 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007956/1.292, allocations: 7.771 MB / 0.8564 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/1.305, allocations: 10.99 MB / 0.8671 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/1.306, allocations: 60 kB / 0.8672 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02185/1.328, allocations: 9.736 MB / 0.8767 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002257/1.328, allocations: 88 kB / 0.8768 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000414/1.328, allocations: 196 kB / 0.877 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/1.329, allocations: 252 kB / 0.8772 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/1.34, allocations: 1.954 MB / 0.8791 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/1.34, allocations: 374.7 kB / 0.8795 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/1.352, allocations: 418.3 kB / 0.8799 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002284/1.354, allocations: 0.5234 MB / 0.8804 GB, free: 5.457 MB / 0.6198 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 (1055): * Single equations (assignments): 1044 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01241/1.367, allocations: 3.404 MB / 0.8837 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.369, allocations: 0.5321 MB / 0.8842 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/1.371, allocations: 0.6248 MB / 0.8848 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/1.372, allocations: 24 kB / 0.8849 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/1.372, allocations: 3.984 kB / 0.8849 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.372, allocations: 11.97 kB / 0.8849 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04515/1.417, allocations: 15.26 MB / 0.8998 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001246/1.417, allocations: 51.98 kB / 0.8998 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.419, allocations: 442.2 kB / 0.9002 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-05/1.419, allocations: 67.94 kB / 0.9003 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/1.42, allocations: 99.98 kB / 0.9004 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.166e-05/1.42, allocations: 88.19 kB / 0.9005 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.595e-05/1.42, allocations: 73.28 kB / 0.9006 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3165/1.736, allocations: 6.808 MB / 0.9072 GB, free: 266.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/1.738, allocations: 0.6359 MB / 0.9078 GB, free: 266.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006942/1.739, allocations: 108 kB / 0.9079 GB, free: 266.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.741, allocations: 111.8 kB / 0.908 GB, free: 266.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/1.741, allocations: 312.8 kB / 0.9083 GB, free: 266.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.741, allocations: 130.2 kB / 0.9085 GB, free: 266.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007947/1.749, allocations: 3.98 MB / 0.9123 GB, free: 265.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.102e-06/1.749, allocations: 3.812 kB / 0.9123 GB, free: 265.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.009282/1.759, allocations: 1.373 MB / 0.9137 GB, free: 265.6 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008292/1.76, allocations: 272.3 kB / 0.9139 GB, free: 265.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.771, allocations: 5.406 MB / 0.9192 GB, free: 263.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-05/1.771, allocations: 10.75 kB / 0.9192 GB, free: 263.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/1.774, allocations: 1.191 MB / 0.9204 GB, free: 263.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/1.784, allocations: 0.8834 MB / 0.9213 GB, free: 263 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03509/1.819, allocations: 20.67 MB / 0.9414 GB, free: 250.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.014/1.833, allocations: 5.333 MB / 0.9467 GB, free: 249 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009455/1.843, allocations: 2.564 MB / 0.9492 GB, free: 248.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.844, allocations: 365.4 kB / 0.9495 GB, free: 248.8 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/1.844, allocations: 2.844 kB / 0.9495 GB, free: 248.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.08954/1.934, allocations: 44.61 MB / 0.9931 GB, free: 209.6 MB / 0.6355 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches