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.001271/0.001271, allocations: 111 kB / 17.09 MB, free: 6.016 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.00126/0.00126, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.322/1.322, 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.1939/0.1939, allocations: 43.53 MB / 314.8 MB, free: 476 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.001417/0.001417, allocations: 63.91 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09596, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01165/0.1077, allocations: 11.03 MB / 0.4993 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.1135, allocations: 3.057 MB / 0.5023 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.1149, allocations: 55.88 kB / 0.5024 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.1186, allocations: 2.013 MB / 0.5043 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.1217, allocations: 1.206 MB / 0.5055 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009056/0.1226, allocations: 291.5 kB / 0.5058 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00377/0.1264, allocations: 2.512 MB / 0.5082 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/0.1295, allocations: 2.395 MB / 0.5106 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.1312, allocations: 0.9539 MB / 0.5115 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.1333, allocations: 1.3 MB / 0.5128 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006762/0.134, allocations: 216 kB / 0.513 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.1357, allocations: 0.7099 MB / 0.5137 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.1372, allocations: 1.247 MB / 0.5149 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.1395, allocations: 1.479 MB / 0.5163 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.1442, allocations: 4.823 MB / 0.521 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1442, allocations: 3.984 kB / 0.521 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1442, allocations: 0 / 0.521 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.1444, allocations: 3.938 kB / 0.521 GB, free: 10.37 MB / 414.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.005873/0.1503, allocations: 3.147 MB / 0.5241 GB, free: 7.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.1503, allocations: 12.03 kB / 0.5241 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.1556, allocations: 1.627 MB / 0.5257 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.1581, allocations: 1.422 MB / 0.5271 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1583, allocations: 160.4 kB / 0.5273 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004497/0.1587, allocations: 207.8 kB / 0.5275 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2136/0.3723, allocations: 6.965 MB / 0.5343 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.3724, allocations: 17.47 kB / 0.5343 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.3727, allocations: 97.31 kB / 0.5344 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/0.3748, allocations: 1.522 MB / 0.5359 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.3859, allocations: 5.952 MB / 0.5417 GB, free: 35.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02446/0.4103, allocations: 22.08 MB / 0.5632 GB, free: 20.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.4143, allocations: 2.199 MB / 0.5654 GB, free: 18.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/0.4152, allocations: 0.8073 MB / 0.5662 GB, free: 18.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00554/0.4207, allocations: 3.955 MB / 0.57 GB, free: 16.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.4208, allocations: 38.56 kB / 0.5701 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.436e-06/0.4208, allocations: 0 / 0.5701 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005224/0.426, allocations: 2.259 MB / 0.5723 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.4261, allocations: 60.06 kB / 0.5723 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.4282, allocations: 2.056 MB / 0.5743 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.4283, allocations: 37.64 kB / 0.5744 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/0.4289, allocations: 2.014 MB / 0.5763 GB, free: 9.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.4291, allocations: 372.2 kB / 0.5767 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00059/0.4297, allocations: 0.6767 MB / 0.5774 GB, free: 8.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.4298, allocations: 369.8 kB / 0.5777 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.431, allocations: 0.9941 MB / 0.5787 GB, free: 7.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4327, allocations: 2.994 MB / 0.5816 GB, free: 3.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/0.4364, allocations: 4.359 MB / 0.5859 GB, free: 13.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-05/0.4365, allocations: 23.94 kB / 0.5859 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005637/0.4421, allocations: 3.877 MB / 0.5897 GB, free: 9.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.4422, allocations: 37 kB / 0.5897 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/0.4423, allocations: 73.75 kB / 0.5898 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.4424, allocations: 99.83 kB / 0.5899 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.4444, allocations: 0.7252 MB / 0.5906 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001031/0.4445, allocations: 143.4 kB / 0.5907 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.4465, allocations: 447.2 kB / 0.5911 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.4467, allocations: 200 kB / 0.5913 GB, free: 8.195 MB / 430.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.001944/0.4487, allocations: 1.477 MB / 0.5928 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.4489, allocations: 173.7 kB / 0.5929 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.4509, allocations: 1.245 MB / 0.5942 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.4509, allocations: 3.984 kB / 0.5942 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.4509, allocations: 0 / 0.5942 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.4513, allocations: 245.8 kB / 0.5944 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.4514, allocations: 8 kB / 0.5944 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.4519, allocations: 33.39 kB / 0.5944 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.452, allocations: 36.61 kB / 0.5945 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001808/0.4538, allocations: 1.15 MB / 0.5956 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00171/0.4556, allocations: 1.355 MB / 0.5969 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006277/0.4562, allocations: 0.4904 MB / 0.5974 GB, free: 1.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001647/0.4579, allocations: 1.272 MB / 0.5986 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of Backend: time 4.71e-07/0.4579, allocations: 0 / 0.5986 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003696/0.4616, allocations: 1.99 MB / 0.6006 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 0.0085/0.4701, allocations: 5.84 MB / 0.6063 GB, free: 8.77 MB / 446.1 MB Notification: Performance of Templates: time 0.04258/0.5127, allocations: 22.02 MB / 0.6278 GB, free: 2.762 MB / 462.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 -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