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.0007244/0.0007244, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.000797/0.000797, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.334/1.334, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1855/0.1855, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 14.62 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 61.92 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03606/0.1557, allocations: 36.63 MB / 0.497 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.1724, allocations: 7.529 MB / 0.5043 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006776/0.1792, allocations: 151.7 kB / 0.5045 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1803, allocations: 302.7 kB / 0.5047 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2164/0.3967, allocations: 1.062 MB / 0.5058 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.3977, allocations: 273.3 kB / 0.506 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006331/0.404, allocations: 3.396 MB / 0.5094 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006255/0.4103, allocations: 3.352 MB / 0.5126 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.4121, allocations: 0.6519 MB / 0.5133 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.4142, allocations: 1.052 MB / 0.5143 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005223/0.4147, allocations: 86.03 kB / 0.5144 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.4165, allocations: 0.6423 MB / 0.515 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.4179, allocations: 1.016 MB / 0.516 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.4199, allocations: 1.225 MB / 0.5172 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.4246, allocations: 4.119 MB / 0.5212 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4246, allocations: 4.562 kB / 0.5212 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4246, allocations: 0 / 0.5212 GB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001491/0.4248, allocations: 3 kB / 0.5212 GB, free: 8.582 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.004619/0.4294, allocations: 2.425 MB / 0.5236 GB, free: 6.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4294, allocations: 8.625 kB / 0.5236 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.4345, allocations: 1.63 MB / 0.5252 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.4368, allocations: 1.338 MB / 0.5265 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.4369, allocations: 147 kB / 0.5266 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.4373, allocations: 193.2 kB / 0.5268 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008367/0.4456, allocations: 6.436 MB / 0.5331 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/0.4457, allocations: 9.531 kB / 0.5331 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.4459, allocations: 92.44 kB / 0.5332 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.4478, allocations: 1.407 MB / 0.5346 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.4581, allocations: 5.5 MB / 0.5399 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.487, allocations: 20.59 MB / 0.5601 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.4912, allocations: 2 MB / 0.562 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009764/0.4923, allocations: 0.6958 MB / 0.5627 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006083/0.4983, allocations: 3.648 MB / 0.5662 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4984, allocations: 43 kB / 0.5663 GB, free: 4.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.4984, allocations: 0 / 0.5663 GB, free: 4.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005373/0.5038, allocations: 1.981 MB / 0.5682 GB, free: 2.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5039, allocations: 62.09 kB / 0.5683 GB, free: 2.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.5067, allocations: 1.958 MB / 0.5702 GB, free: 160 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.5068, allocations: 41.7 kB / 0.5702 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.5081, allocations: 1.873 MB / 0.5721 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.5084, allocations: 318.7 kB / 0.5724 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.5088, allocations: 279.1 kB / 0.5726 GB, free: 13.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.509, allocations: 357.9 kB / 0.573 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5103, allocations: 0.8881 MB / 0.5738 GB, free: 12.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.5129, allocations: 2.782 MB / 0.5766 GB, free: 8.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.5177, allocations: 3.99 MB / 0.5805 GB, free: 4.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.564e-05/0.5178, allocations: 23.94 kB / 0.5805 GB, free: 4.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006181/0.5239, allocations: 3.55 MB / 0.5839 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.524, allocations: 32.94 kB / 0.584 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.517e-05/0.5241, allocations: 71.98 kB / 0.584 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.5242, allocations: 88 kB / 0.5841 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.526, allocations: 0.6649 MB / 0.5848 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/0.5262, allocations: 131.6 kB / 0.5849 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.5281, allocations: 415.4 kB / 0.5853 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/0.5284, allocations: 195.6 kB / 0.5855 GB, free: 15.39 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.002528/0.5309, allocations: 1.369 MB / 0.5868 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.5312, allocations: 161.8 kB / 0.587 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.5317, allocations: 201.2 kB / 0.5872 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.5317, allocations: 8 kB / 0.5872 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5317, allocations: 0 / 0.5872 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5317, allocations: 3.984 kB / 0.5872 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/0.538, allocations: 4.1 MB / 0.5912 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.538, allocations: 7.984 kB / 0.5912 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.5385, allocations: 104.5 kB / 0.5913 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5385, allocations: 8 kB / 0.5913 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5385, allocations: 23.98 kB / 0.5913 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.5386, allocations: 10.62 kB / 0.5913 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.5386, allocations: 10.72 kB / 0.5913 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5402, allocations: 1.265 MB / 0.5926 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.5408, allocations: 266.6 kB / 0.5928 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.5409, allocations: 19.94 kB / 0.5929 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.5414, allocations: 30.16 kB / 0.5929 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5415, allocations: 65.02 kB / 0.5929 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.5416, allocations: 28 kB / 0.593 GB, free: 7.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.5436, allocations: 1.283 MB / 0.5942 GB, free: 6.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5436, allocations: 0 / 0.5942 GB, free: 6.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00265/0.5462, allocations: 0.7022 MB / 0.5949 GB, free: 5.605 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.0003101/0.5465, allocations: 160.8 kB / 0.5951 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.5494, allocations: 2.034 MB / 0.597 GB, free: 3.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5494, allocations: 0 / 0.597 GB, free: 3.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.55, allocations: 463 kB / 0.5975 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.5527, allocations: 245.5 kB / 0.5977 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009404/0.5621, allocations: 6.57 MB / 0.6041 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/0.5645, allocations: 2.316 MB / 0.6064 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00236/0.5669, allocations: 0.9639 MB / 0.6073 GB, free: 8.969 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.5672, allocations: 123.4 kB / 0.6075 GB, free: 8.848 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5672, allocations: 0 / 0.6075 GB, free: 8.848 MB / 462.1 MB Notification: Performance of Templates: time 0.0289/0.5961, allocations: 13.84 MB / 0.621 GB, free: 11.11 MB / 478.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/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