Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,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.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,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.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 109.5 kB / 17.77 MB, free: 5.289 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.001817/0.001817, allocations: 188.8 kB / 18.71 MB, free: 4.367 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2141/0.2141, allocations: 44.19 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3785, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01047/0.3891, allocations: 9.736 MB / 0.5284 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006771/0.3959, allocations: 2.923 MB / 0.5312 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.3978, allocations: 52.62 kB / 0.5313 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.4019, allocations: 1.988 MB / 0.5332 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.4052, allocations: 1.136 MB / 0.5344 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.406, allocations: 294.3 kB / 0.5346 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003517/0.4095, allocations: 2.317 MB / 0.5369 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.4129, allocations: 2.339 MB / 0.5392 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.4147, allocations: 0.8916 MB / 0.54 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.4168, allocations: 1.184 MB / 0.5412 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006945/0.4175, allocations: 197.8 kB / 0.5414 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.4192, allocations: 0.7062 MB / 0.5421 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4206, allocations: 1.153 MB / 0.5432 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.4227, allocations: 1.351 MB / 0.5445 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005183/0.4279, allocations: 4.447 MB / 0.5489 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4279, allocations: 3.938 kB / 0.5489 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4279, allocations: 0 / 0.5489 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001373/0.428, allocations: 0 / 0.5489 GB, free: 13.22 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005253/0.4333, allocations: 2.947 MB / 0.5518 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4334, allocations: 12.03 kB / 0.5518 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/0.4386, allocations: 1.584 MB / 0.5533 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.4413, allocations: 1.363 MB / 0.5546 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.4414, allocations: 148.1 kB / 0.5548 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.4418, allocations: 191.8 kB / 0.555 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/0.4511, allocations: 6.428 MB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.399e-05/0.4512, allocations: 15.88 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.4515, allocations: 91.89 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/0.4536, allocations: 1.403 MB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009326/0.463, allocations: 5.492 MB / 0.5681 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02774/0.4907, allocations: 20.45 MB / 0.5881 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.4948, allocations: 2.001 MB / 0.59 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009462/0.4958, allocations: 0.6914 MB / 0.5907 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006242/0.5021, allocations: 3.639 MB / 0.5942 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5021, allocations: 39 kB / 0.5943 GB, free: 13.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.478e-06/0.5022, allocations: 0 / 0.5943 GB, free: 13.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005194/0.5074, allocations: 1.981 MB / 0.5962 GB, free: 11.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.5074, allocations: 59.84 kB / 0.5963 GB, free: 11.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.5102, allocations: 1.966 MB / 0.5982 GB, free: 9.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.5102, allocations: 33.7 kB / 0.5982 GB, free: 9.395 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.5115, allocations: 1.891 MB / 0.6001 GB, free: 7.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.5119, allocations: 304.2 kB / 0.6004 GB, free: 7.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000734/0.5126, allocations: 0.623 MB / 0.601 GB, free: 6.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5128, allocations: 357.9 kB / 0.6013 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.5141, allocations: 0.892 MB / 0.6022 GB, free: 5.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.5166, allocations: 2.774 MB / 0.6049 GB, free: 1.574 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.5207, allocations: 4.003 MB / 0.6088 GB, free: 12.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-05/0.5207, allocations: 20 kB / 0.6088 GB, free: 12.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005465/0.5262, allocations: 3.549 MB / 0.6123 GB, free: 9.059 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.5263, allocations: 32 kB / 0.6123 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.967e-05/0.5264, allocations: 68.91 kB / 0.6124 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.575e-05/0.5265, allocations: 88 kB / 0.6125 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.5283, allocations: 0.6667 MB / 0.6131 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001025/0.5285, allocations: 135.4 kB / 0.6132 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.5304, allocations: 419.5 kB / 0.6136 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.5307, allocations: 192 kB / 0.6138 GB, free: 7.473 MB / 478.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.001988/0.5327, allocations: 1.369 MB / 0.6152 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.5329, allocations: 165.8 kB / 0.6153 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.5333, allocations: 197.2 kB / 0.6155 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.5333, allocations: 8 kB / 0.6155 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5333, allocations: 0 / 0.6155 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5333, allocations: 3.984 kB / 0.6155 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/0.5397, allocations: 4.101 MB / 0.6195 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.5398, allocations: 8 kB / 0.6195 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.5402, allocations: 99.83 kB / 0.6196 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.5402, allocations: 15.98 kB / 0.6196 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.5402, allocations: 20 kB / 0.6197 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.5403, allocations: 11.94 kB / 0.6197 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.5403, allocations: 15.92 kB / 0.6197 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.5417, allocations: 1.259 MB / 0.6209 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.5421, allocations: 254.7 kB / 0.6212 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.5422, allocations: 12 kB / 0.6212 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.5427, allocations: 31.89 kB / 0.6212 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.5428, allocations: 71.69 kB / 0.6213 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.5429, allocations: 28 kB / 0.6213 GB, free: 15.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.5446, allocations: 1.283 MB / 0.6225 GB, free: 14.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5446, allocations: 0 / 0.6225 GB, free: 14.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002434/0.547, allocations: 0.7038 MB / 0.6232 GB, free: 13.55 MB / 494.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.0002851/0.5473, allocations: 143 kB / 0.6234 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.5503, allocations: 2.058 MB / 0.6254 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.5504, allocations: 4 kB / 0.6254 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.551, allocations: 465.4 kB / 0.6258 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5523, allocations: 260.8 kB / 0.6261 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008623/0.5609, allocations: 5.157 MB / 0.6311 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.5634, allocations: 2.319 MB / 0.6334 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002122/0.5655, allocations: 0.9639 MB / 0.6343 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.5658, allocations: 123.4 kB / 0.6344 GB, free: 1.941 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5658, allocations: 0 / 0.6344 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Templates: time 0.0305/0.5963, allocations: 15.02 MB / 0.6491 GB, free: 2.961 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches