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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.17 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 60.16 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1103, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01617/0.1265, allocations: 15.39 MB / 485.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1376, allocations: 5.108 MB / 490.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.1406, allocations: 123.7 kB / 490.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.152, allocations: 6.024 MB / 496.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007783/0.1599, allocations: 2.852 MB / 499.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.1641, allocations: 1.579 MB / 0.4892 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01162/0.1758, allocations: 7.725 MB / 0.4968 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.232/0.4078, allocations: 7.472 MB / 0.5041 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00586/0.4137, allocations: 3.04 MB / 0.5071 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00719/0.421, allocations: 3.859 MB / 0.5108 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003211/0.4242, allocations: 0.5862 MB / 0.5114 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006185/0.4304, allocations: 1.429 MB / 0.5128 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008427/0.4389, allocations: 3.588 MB / 0.5163 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01075/0.4497, allocations: 3.982 MB / 0.5202 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.4671, allocations: 11.71 MB / 0.5316 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4672, allocations: 0 / 0.5316 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4672, allocations: 0 / 0.5316 GB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005881/0.4678, allocations: 0 / 0.5316 GB, free: 9.871 MB / 382.1 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.02427/0.492, allocations: 8.731 MB / 0.5401 GB, free: 4.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4921, allocations: 16 kB / 0.5402 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.5036, allocations: 2.584 MB / 0.5427 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00902/0.5127, allocations: 4.586 MB / 0.5472 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.5131, allocations: 438.8 kB / 0.5476 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/0.5155, allocations: 0.5621 MB / 0.5481 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/0.5528, allocations: 17.44 MB / 0.5652 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/0.5532, allocations: 66.69 kB / 0.5652 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001707/0.5549, allocations: 273.6 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005385/0.5603, allocations: 3.168 MB / 0.5686 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/0.5914, allocations: 13.42 MB / 0.5817 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09358/0.685, allocations: 66.13 MB / 0.6463 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/0.7014, allocations: 5.389 MB / 0.6515 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003718/0.7052, allocations: 2.13 MB / 0.6536 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/0.7254, allocations: 9.989 MB / 0.6634 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.7255, allocations: 62.91 kB / 0.6634 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.07e-06/0.7255, allocations: 0 / 0.6634 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04306/0.7685, allocations: 14.16 MB / 0.6773 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.7687, allocations: 157.5 kB / 0.6774 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/0.7812, allocations: 6.382 MB / 0.6836 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/0.7817, allocations: 52.91 kB / 0.6837 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004865/0.7866, allocations: 5.242 MB / 0.6888 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.7878, allocations: 0.823 MB / 0.6896 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/0.791, allocations: 1.694 MB / 0.6913 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7911, allocations: 313.1 kB / 0.6916 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/0.7958, allocations: 2.339 MB / 0.6938 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2354/1.031, allocations: 7.764 MB / 0.7014 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.042, allocations: 11 MB / 0.7122 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/1.043, allocations: 55.75 kB / 0.7122 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01858/1.061, allocations: 9.758 MB / 0.7217 GB, free: 160 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002394/1.061, allocations: 87.69 kB / 0.7218 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003836/1.062, allocations: 191.5 kB / 0.722 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/1.062, allocations: 254.7 kB / 0.7223 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/1.068, allocations: 1.949 MB / 0.7242 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/1.069, allocations: 374.8 kB / 0.7245 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006308/1.075, allocations: 414.8 kB / 0.7249 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.076, allocations: 0.5179 MB / 0.7254 GB, free: 159.4 MB / 0.5294 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.006272/1.082, allocations: 3.408 MB / 0.7287 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000997/1.083, allocations: 0.528 MB / 0.7293 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.085, allocations: 0.626 MB / 0.7299 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/1.085, allocations: 26.41 kB / 0.7299 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.085, allocations: 4 kB / 0.7299 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/1.085, allocations: 8.531 kB / 0.7299 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/1.107, allocations: 15.26 MB / 0.7448 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-05/1.107, allocations: 50.5 kB / 0.7449 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.108, allocations: 451.6 kB / 0.7453 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/1.108, allocations: 67.94 kB / 0.7454 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/1.108, allocations: 97.31 kB / 0.7455 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.955e-05/1.109, allocations: 93.66 kB / 0.7455 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-05/1.109, allocations: 71.69 kB / 0.7456 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/1.112, allocations: 4.3 MB / 0.7498 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.114, allocations: 0.6366 MB / 0.7504 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009759/1.115, allocations: 116.2 kB / 0.7505 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/1.117, allocations: 107.3 kB / 0.7506 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/1.118, allocations: 307 kB / 0.7509 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.118, allocations: 133.3 kB / 0.7511 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006668/1.124, allocations: 3.98 MB / 0.755 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.42e-07/1.124, allocations: 0 / 0.755 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007775/1.132, allocations: 1.372 MB / 0.7563 GB, free: 140.7 MB / 0.5294 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.0006458/1.133, allocations: 278.4 kB / 0.7566 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00794/1.141, allocations: 5.597 MB / 0.762 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-05/1.141, allocations: 4.562 kB / 0.762 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/1.143, allocations: 1.205 MB / 0.7632 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00531/1.148, allocations: 0.9142 MB / 0.7641 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/1.174, allocations: 16.45 MB / 0.7802 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007348/1.181, allocations: 5.237 MB / 0.7853 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.183, allocations: 419.4 kB / 0.7857 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.183, allocations: 0 / 0.7857 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1102/1.293, allocations: 86.64 MB / 0.8703 GB, free: 25.96 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches