Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001394/0.001394, allocations: 110.5 kB / 17.04 MB, free: 5.812 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.001462/0.001462, allocations: 196 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1972/0.1972, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.22 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08818, allocations: 57.8 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009696/0.09791, allocations: 11.02 MB / 453 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005634/0.1036, allocations: 3.057 MB / 456.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1047, allocations: 59.88 kB / 456.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.1084, allocations: 2.017 MB / 458.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.1116, allocations: 1.202 MB / 459.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.1123, allocations: 291.4 kB / 459.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.1156, allocations: 2.492 MB / 462.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.1181, allocations: 2.403 MB / 464.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.1193, allocations: 0.9656 MB / 465.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1207, allocations: 1.3 MB / 466.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.121, allocations: 216 kB / 467 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1221, allocations: 0.7139 MB / 467.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009545/0.1231, allocations: 1.231 MB / 468.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.1243, allocations: 1.475 MB / 470.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.1285, allocations: 4.831 MB / 475.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1285, allocations: 0 / 475.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.1285, allocations: 0 / 475.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.64e-05/0.1286, allocations: 3.938 kB / 475.2 MB, free: 4.727 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.004579/0.1332, allocations: 3.147 MB / 478.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1332, allocations: 12.03 kB / 478.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.1382, allocations: 1.627 MB / 480 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1409, allocations: 1.422 MB / 481.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.141, allocations: 160.4 kB / 481.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/0.1414, allocations: 211.8 kB / 481.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008671/0.15, allocations: 6.973 MB / 488.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.1501, allocations: 15.81 kB / 488.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.1504, allocations: 99.89 kB / 488.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.1525, allocations: 1.517 MB / 490.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009362/0.1618, allocations: 5.954 MB / 496.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02689/0.1888, allocations: 22.08 MB / 0.5063 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.193, allocations: 2.192 MB / 0.5084 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.1941, allocations: 0.8109 MB / 0.5092 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00702/0.2012, allocations: 3.953 MB / 0.5131 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2012, allocations: 43.16 kB / 0.5131 GB, free: 1.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.866e-06/0.2012, allocations: 4 kB / 0.5131 GB, free: 1.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005516/0.2068, allocations: 2.26 MB / 0.5153 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.2068, allocations: 56.06 kB / 0.5154 GB, free: 14.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.2093, allocations: 2.06 MB / 0.5174 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.2094, allocations: 37.7 kB / 0.5174 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.2107, allocations: 2.011 MB / 0.5194 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.211, allocations: 371.2 kB / 0.5198 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.2118, allocations: 0.6746 MB / 0.5204 GB, free: 9.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2119, allocations: 369.9 kB / 0.5208 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.2134, allocations: 0.9941 MB / 0.5217 GB, free: 8.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.216, allocations: 2.992 MB / 0.5247 GB, free: 4.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1861/0.4021, allocations: 4.359 MB / 0.5289 GB, free: 85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.55e-05/0.4022, allocations: 20.59 kB / 0.5289 GB, free: 85 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005644/0.4078, allocations: 3.883 MB / 0.5327 GB, free: 84.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.4079, allocations: 36.81 kB / 0.5328 GB, free: 84.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/0.408, allocations: 70.88 kB / 0.5328 GB, free: 84.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.217e-05/0.408, allocations: 92.16 kB / 0.5329 GB, free: 84.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.41, allocations: 0.7262 MB / 0.5336 GB, free: 84.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.4101, allocations: 140.5 kB / 0.5338 GB, free: 84.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.4119, allocations: 455.8 kB / 0.5342 GB, free: 84.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.4122, allocations: 204.6 kB / 0.5344 GB, free: 84.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.001823/0.414, allocations: 1.463 MB / 0.5358 GB, free: 84.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.4142, allocations: 177.6 kB / 0.536 GB, free: 84.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.4159, allocations: 1.243 MB / 0.5372 GB, free: 83.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.4159, allocations: 12.11 kB / 0.5372 GB, free: 83.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.416, allocations: 0.6094 kB / 0.5372 GB, free: 83.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.416, allocations: 3.094 kB / 0.5372 GB, free: 83.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007306/0.4233, allocations: 5.032 MB / 0.5421 GB, free: 81.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.4233, allocations: 10.97 kB / 0.5422 GB, free: 81.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.4239, allocations: 143.6 kB / 0.5423 GB, free: 81.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/0.4239, allocations: 13.91 kB / 0.5423 GB, free: 81.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.424, allocations: 26.19 kB / 0.5423 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/0.424, allocations: 20.83 kB / 0.5423 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.424, allocations: 18.78 kB / 0.5424 GB, free: 81.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.4255, allocations: 1.587 MB / 0.5439 GB, free: 80.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.4258, allocations: 265.1 kB / 0.5442 GB, free: 80.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.426, allocations: 24.19 kB / 0.5442 GB, free: 80.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.4265, allocations: 43.12 kB / 0.5442 GB, free: 80.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4266, allocations: 83.17 kB / 0.5443 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.4267, allocations: 42.52 kB / 0.5444 GB, free: 80.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.428, allocations: 1.347 MB / 0.5457 GB, free: 80.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4281, allocations: 0.7188 kB / 0.5457 GB, free: 80.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002372/0.4304, allocations: 0.7706 MB / 0.5464 GB, free: 79.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002472/0.4307, allocations: 159 kB / 0.5466 GB, free: 79.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.433, allocations: 2.327 MB / 0.5488 GB, free: 79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4331, allocations: 3.469 kB / 0.5488 GB, free: 79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.4336, allocations: 0.5587 MB / 0.5494 GB, free: 78.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4347, allocations: 265.8 kB / 0.5496 GB, free: 78.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.4408, allocations: 5.724 MB / 0.5552 GB, free: 74.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.4426, allocations: 2.458 MB / 0.5576 GB, free: 72.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001888/0.4445, allocations: 1.039 MB / 0.5587 GB, free: 72.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.4448, allocations: 135.4 kB / 0.5588 GB, free: 72.09 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4448, allocations: 0 / 0.5588 GB, free: 72.09 MB / 414.1 MB Notification: Performance of Templates: time 0.02466/0.4694, allocations: 15.97 MB / 0.5744 GB, free: 56.25 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches