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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 108.4 kB / 17.98 MB, free: 5.34 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.001294/0.001295, allocations: 193.3 kB / 18.9 MB, free: 4.426 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.322/1.322, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2061/0.2061, allocations: 44.18 MB / 336.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 55.55 kB / 408.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 60.83 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03509/0.1483, allocations: 37.7 MB / 0.4952 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.165, allocations: 7.533 MB / 0.5025 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007794/0.1729, allocations: 151.7 kB / 0.5027 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2339/0.4068, allocations: 1.918 MB / 0.5046 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.4101, allocations: 1.062 MB / 0.5056 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.411, allocations: 269.1 kB / 0.5059 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003992/0.415, allocations: 2.349 MB / 0.5081 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.4183, allocations: 2.446 MB / 0.5105 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.42, allocations: 0.9138 MB / 0.5114 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.4219, allocations: 1.284 MB / 0.5127 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.4224, allocations: 197.5 kB / 0.5129 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4241, allocations: 0.7129 MB / 0.5136 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.4255, allocations: 1.158 MB / 0.5147 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.427, allocations: 1.363 MB / 0.516 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003918/0.4309, allocations: 3.539 MB / 0.5195 GB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.431, allocations: 1.469 kB / 0.5195 GB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.431, allocations: 0 / 0.5195 GB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.4311, allocations: 0 / 0.5195 GB, free: 9.867 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006687/0.4378, allocations: 2.936 MB / 0.5224 GB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4379, allocations: 12.23 kB / 0.5224 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.443, allocations: 1.587 MB / 0.5239 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.4458, allocations: 1.345 MB / 0.5252 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.446, allocations: 144.6 kB / 0.5254 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004923/0.4465, allocations: 191.3 kB / 0.5255 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.4571, allocations: 6.437 MB / 0.5318 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.4572, allocations: 16.95 kB / 0.5319 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.4574, allocations: 89.91 kB / 0.5319 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/0.4594, allocations: 1.4 MB / 0.5333 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009841/0.4692, allocations: 5.497 MB / 0.5387 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02939/0.4986, allocations: 20.6 MB / 0.5588 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.5028, allocations: 2.005 MB / 0.5607 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.5038, allocations: 0.6982 MB / 0.5614 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006375/0.5102, allocations: 3.634 MB / 0.565 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5102, allocations: 42.94 kB / 0.565 GB, free: 4.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.196e-06/0.5102, allocations: 0 / 0.565 GB, free: 4.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005195/0.5154, allocations: 1.985 MB / 0.567 GB, free: 2.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5155, allocations: 58.38 kB / 0.567 GB, free: 2.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.5183, allocations: 1.958 MB / 0.5689 GB, free: 48 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.5184, allocations: 37.7 kB / 0.569 GB, free: 4 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.5196, allocations: 1.893 MB / 0.5708 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.5199, allocations: 305.6 kB / 0.5711 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/0.5207, allocations: 0.622 MB / 0.5717 GB, free: 13.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5208, allocations: 357.9 kB / 0.572 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.522, allocations: 0.8881 MB / 0.5729 GB, free: 11.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.5243, allocations: 2.778 MB / 0.5756 GB, free: 8.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.5283, allocations: 3.991 MB / 0.5795 GB, free: 3.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/0.5283, allocations: 20 kB / 0.5795 GB, free: 3.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005209/0.5335, allocations: 3.556 MB / 0.583 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.5336, allocations: 32 kB / 0.583 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.105e-05/0.5337, allocations: 68 kB / 0.5831 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.503e-05/0.5338, allocations: 92.25 kB / 0.5832 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.5356, allocations: 0.6585 MB / 0.5838 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.331e-05/0.5357, allocations: 133.2 kB / 0.584 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.5376, allocations: 418 kB / 0.5844 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.5379, allocations: 192 kB / 0.5846 GB, free: 14.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * 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.002325/0.5402, allocations: 1.376 MB / 0.5859 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.5405, allocations: 157.9 kB / 0.586 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.5408, allocations: 197.2 kB / 0.5862 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5408, allocations: 8 kB / 0.5862 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5409, allocations: 4 kB / 0.5862 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5409, allocations: 7.984 kB / 0.5863 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/0.547, allocations: 4.101 MB / 0.5903 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.547, allocations: 4 kB / 0.5903 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.5474, allocations: 104 kB / 0.5904 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.5474, allocations: 8 kB / 0.5904 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.5475, allocations: 22.42 kB / 0.5904 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/0.5475, allocations: 14.52 kB / 0.5904 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5475, allocations: 10.62 kB / 0.5904 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.5489, allocations: 1.271 MB / 0.5917 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.5495, allocations: 250.8 kB / 0.5919 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.5497, allocations: 23.98 kB / 0.5919 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.5501, allocations: 23.89 kB / 0.5919 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5503, allocations: 63.64 kB / 0.592 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.5503, allocations: 31.98 kB / 0.592 GB, free: 7.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002318/0.5527, allocations: 1.287 MB / 0.5933 GB, free: 5.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5527, allocations: 0 / 0.5933 GB, free: 5.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002969/0.5556, allocations: 0.7037 MB / 0.594 GB, free: 5.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003452/0.556, allocations: 141.2 kB / 0.5941 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003381/0.5594, allocations: 2.265 MB / 0.5963 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.5594, allocations: 0 / 0.5963 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.56, allocations: 462.5 kB / 0.5968 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.5615, allocations: 244.5 kB / 0.597 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.5723, allocations: 6.872 MB / 0.6037 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.5748, allocations: 2.319 MB / 0.606 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.5753, allocations: 147.4 kB / 0.6061 GB, free: 8.828 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5754, allocations: 0 / 0.6061 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Templates: time 0.04786/0.6232, allocations: 30.52 MB / 0.6359 GB, free: 10.39 MB / 494.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches