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.001216/0.001216, allocations: 107.5 kB / 17.04 MB, free: 5.809 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.001232/0.001231, allocations: 196 kB / 17.97 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.518/1.518, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2012/0.2012, allocations: 43.51 MB / 314.7 MB, free: 496 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.001416/0.001416, allocations: 70.08 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01023/0.1209, allocations: 11.02 MB / 453 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006583/0.1275, allocations: 3.065 MB / 456.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.1294, allocations: 51.94 kB / 456.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003645/0.1331, allocations: 2.013 MB / 458.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.1363, allocations: 1.21 MB / 459.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.1371, allocations: 291.4 kB / 459.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.1405, allocations: 2.5 MB / 462.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.1434, allocations: 2.391 MB / 464.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.1449, allocations: 0.9695 MB / 465.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.1467, allocations: 1.297 MB / 466.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003502/0.147, allocations: 220 kB / 467 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.1482, allocations: 0.7138 MB / 467.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.1493, allocations: 1.227 MB / 468.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.1507, allocations: 1.475 MB / 470.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005411/0.1561, allocations: 4.835 MB / 475.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1562, allocations: 0 / 475.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1562, allocations: 0 / 475.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001593/0.1564, allocations: 0 / 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.006019/0.1624, allocations: 3.147 MB / 478.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.1625, allocations: 8.031 kB / 478.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.1675, allocations: 1.627 MB / 480 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.1707, allocations: 1.429 MB / 481.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.1708, allocations: 160.4 kB / 481.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004258/0.1713, allocations: 211.8 kB / 481.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009741/0.181, allocations: 6.973 MB / 488.8 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.1811, allocations: 11.88 kB / 488.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.1813, allocations: 99.89 kB / 488.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.1835, allocations: 1.521 MB / 490.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009841/0.1933, allocations: 5.955 MB / 496.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.2238, allocations: 22.08 MB / 0.5063 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.2283, allocations: 2.196 MB / 0.5084 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.2294, allocations: 0.8069 MB / 0.5092 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007541/0.237, allocations: 3.965 MB / 0.5131 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2371, allocations: 35.22 kB / 0.5131 GB, free: 1.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.267e-06/0.2371, allocations: 0 / 0.5131 GB, free: 1.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.00588/0.243, allocations: 2.252 MB / 0.5153 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.243, allocations: 60.06 kB / 0.5154 GB, free: 14.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.246, allocations: 2.06 MB / 0.5174 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.2461, allocations: 33.7 kB / 0.5174 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.2475, allocations: 2.022 MB / 0.5194 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.2479, allocations: 371.2 kB / 0.5198 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000852/0.2488, allocations: 0.6746 MB / 0.5204 GB, free: 9.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.249, allocations: 365.9 kB / 0.5208 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.2506, allocations: 0.9941 MB / 0.5217 GB, free: 8.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.2538, allocations: 2.996 MB / 0.5247 GB, free: 4.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2359/0.4897, allocations: 4.357 MB / 0.5289 GB, free: 84.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.642e-05/0.4898, allocations: 21.5 kB / 0.529 GB, free: 84.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007179/0.497, allocations: 3.882 MB / 0.5327 GB, free: 84.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.4971, allocations: 35.31 kB / 0.5328 GB, free: 84.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.719e-05/0.4972, allocations: 73.81 kB / 0.5328 GB, free: 84.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.4973, allocations: 93.28 kB / 0.5329 GB, free: 84.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.4994, allocations: 0.7293 MB / 0.5336 GB, free: 83.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.4995, allocations: 140 kB / 0.5338 GB, free: 83.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5016, allocations: 448.2 kB / 0.5342 GB, free: 83.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.5018, allocations: 204.1 kB / 0.5344 GB, free: 83.89 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.002242/0.5041, allocations: 1.468 MB / 0.5358 GB, free: 83.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.5044, allocations: 176.5 kB / 0.536 GB, free: 83.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.5064, allocations: 1.25 MB / 0.5372 GB, free: 83.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.5064, allocations: 10.66 kB / 0.5372 GB, free: 83.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5064, allocations: 0 / 0.5372 GB, free: 83.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.5065, allocations: 3.797 kB / 0.5372 GB, free: 83.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008495/0.515, allocations: 5.029 MB / 0.5421 GB, free: 81.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.515, allocations: 9.375 kB / 0.5422 GB, free: 81.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006485/0.5157, allocations: 141.7 kB / 0.5423 GB, free: 81.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.152e-05/0.5157, allocations: 18.03 kB / 0.5423 GB, free: 81.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.5158, allocations: 28.88 kB / 0.5423 GB, free: 81.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-05/0.5158, allocations: 21.05 kB / 0.5424 GB, free: 81.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/0.5159, allocations: 14.41 kB / 0.5424 GB, free: 81.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.5178, allocations: 1.585 MB / 0.5439 GB, free: 80.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.5184, allocations: 266.3 kB / 0.5442 GB, free: 80.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.5186, allocations: 25.28 kB / 0.5442 GB, free: 80.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.5191, allocations: 39.03 kB / 0.5442 GB, free: 80.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5193, allocations: 84.81 kB / 0.5443 GB, free: 80.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.5194, allocations: 46.59 kB / 0.5444 GB, free: 80.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001717/0.5211, allocations: 1.342 MB / 0.5457 GB, free: 79.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.5211, allocations: 0 / 0.5457 GB, free: 79.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00274/0.5239, allocations: 0.7758 MB / 0.5464 GB, free: 79.33 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.0002872/0.5242, allocations: 157.2 kB / 0.5466 GB, free: 79.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.527, allocations: 2.321 MB / 0.5488 GB, free: 78.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.527, allocations: 3.625 kB / 0.5488 GB, free: 78.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.5276, allocations: 0.567 MB / 0.5494 GB, free: 78.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5289, allocations: 249 kB / 0.5496 GB, free: 78.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.5363, allocations: 5.723 MB / 0.5552 GB, free: 74.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/0.5383, allocations: 2.46 MB / 0.5576 GB, free: 72.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001994/0.5403, allocations: 1.046 MB / 0.5587 GB, free: 71.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.5406, allocations: 131.4 kB / 0.5588 GB, free: 71.38 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5406, allocations: 4 kB / 0.5588 GB, free: 71.38 MB / 414.1 MB Notification: Performance of Templates: time 0.02736/0.568, allocations: 15.97 MB / 0.5744 GB, free: 55.54 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 cvode -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