Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002123/0.002128, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 222.5 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 98.78 kB / 270.9 MB, free: 13.14 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.55 MB / 362.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004605, allocations: 20 kB / 431.4 MB, free: 20.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 58.85 MB / 490.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.05266/0.1689, allocations: 33.37 MB / 0.5113 GB, free: 7.844 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.1905, allocations: 7.651 MB / 0.5188 GB, free: 172 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00627/0.1968, allocations: 159.6 kB / 0.5189 GB, free: 12 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.325/0.5219, allocations: 1.666 MB / 0.5206 GB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.5405, allocations: 4.816 MB / 0.5253 GB, free: 9.977 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.5429, allocations: 217.3 kB / 0.5255 GB, free: 9.977 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.5471, allocations: 1.386 MB / 0.5268 GB, free: 9.961 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00653/0.5537, allocations: 3.011 MB / 0.5298 GB, free: 9.594 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.5555, allocations: 0.599 MB / 0.5304 GB, free: 9.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.5576, allocations: 0.7933 MB / 0.5311 GB, free: 9.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007178/0.5584, allocations: 98.28 kB / 0.5312 GB, free: 9.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.5604, allocations: 0.5134 MB / 0.5317 GB, free: 9.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.5623, allocations: 0.9954 MB / 0.5327 GB, free: 9.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.5635, allocations: 0.5627 MB / 0.5333 GB, free: 9.559 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006038/0.5696, allocations: 3.72 MB / 0.5369 GB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5696, allocations: 0 / 0.5369 GB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5697, allocations: 0 / 0.5369 GB, free: 7.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.5699, allocations: 0 / 0.5369 GB, free: 7.543 MB / 362.7 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.008324/0.5782, allocations: 2.661 MB / 0.5395 GB, free: 5.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5783, allocations: 10.19 kB / 0.5395 GB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.5901, allocations: 1.959 MB / 0.5414 GB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.5947, allocations: 1.387 MB / 0.5428 GB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.5949, allocations: 158.2 kB / 0.5429 GB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/0.5961, allocations: 203.1 kB / 0.5431 GB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.6143, allocations: 6.99 MB / 0.5499 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.135e-05/0.6144, allocations: 16.5 kB / 0.55 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007804/0.6152, allocations: 104.8 kB / 0.5501 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/0.6193, allocations: 1.521 MB / 0.5515 GB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.6373, allocations: 5.97 MB / 0.5574 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04966/0.687, allocations: 22.3 MB / 0.5791 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008125/0.6952, allocations: 2.185 MB / 0.5813 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/0.7087, allocations: 3.992 MB / 0.5852 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.7088, allocations: 39.22 kB / 0.5852 GB, free: 6.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.481e-06/0.7088, allocations: 0 / 0.5852 GB, free: 6.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.01122/0.72, allocations: 2.514 MB / 0.5877 GB, free: 3.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.7201, allocations: 64.05 kB / 0.5877 GB, free: 3.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.7249, allocations: 2.039 MB / 0.5897 GB, free: 1.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.7252, allocations: 39.78 kB / 0.5898 GB, free: 1.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.7274, allocations: 2.025 MB / 0.5917 GB, free: 15.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/0.7281, allocations: 377.5 kB / 0.5921 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.7285, allocations: 62.81 kB / 0.5922 GB, free: 15.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000375/0.7289, allocations: 458 kB / 0.5926 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.7318, allocations: 0.9804 MB / 0.5935 GB, free: 13.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004927/0.7368, allocations: 2.977 MB / 0.5965 GB, free: 9.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/0.7413, allocations: 1.718 MB / 0.5981 GB, free: 8.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.724e-05/0.7415, allocations: 24 kB / 0.5982 GB, free: 8.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01101/0.7525, allocations: 3.807 MB / 0.6019 GB, free: 4.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-05/0.7526, allocations: 32 kB / 0.6019 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.7528, allocations: 72 kB / 0.602 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.7529, allocations: 104 kB / 0.6021 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/0.7576, allocations: 0.7275 MB / 0.6028 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001819/0.7579, allocations: 139.5 kB / 0.6029 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.7615, allocations: 456.5 kB / 0.6033 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006912/0.7623, allocations: 203.2 kB / 0.6035 GB, free: 3.199 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004011/0.7663, allocations: 1.466 MB / 0.605 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.7667, allocations: 173.7 kB / 0.6051 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.7703, allocations: 1.229 MB / 0.6063 GB, free: 324 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/0.7704, allocations: 15.12 kB / 0.6064 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.7704, allocations: 0 / 0.6064 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.7704, allocations: 6.172 kB / 0.6064 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.7855, allocations: 5.027 MB / 0.6113 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.7855, allocations: 12 kB / 0.6113 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7867, allocations: 144.6 kB / 0.6114 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/0.7868, allocations: 16 kB / 0.6114 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.7869, allocations: 35.94 kB / 0.6115 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/0.787, allocations: 15.94 kB / 0.6115 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.787, allocations: 15.94 kB / 0.6115 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.7909, allocations: 2.326 MB / 0.6138 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007535/0.7917, allocations: 274.4 kB / 0.614 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/0.7922, allocations: 27.98 kB / 0.6141 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.7933, allocations: 39.19 kB / 0.6141 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.7936, allocations: 79.7 kB / 0.6142 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.7937, allocations: 36 kB / 0.6142 GB, free: 7.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003348/0.7971, allocations: 1.337 MB / 0.6155 GB, free: 6.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7971, allocations: 0 / 0.6155 GB, free: 6.227 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004372/0.8015, allocations: 0.7774 MB / 0.6163 GB, free: 5.449 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005587/0.8021, allocations: 153.8 kB / 0.6164 GB, free: 5.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005921/0.8081, allocations: 2.276 MB / 0.6186 GB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.8081, allocations: 0 / 0.6186 GB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.8096, allocations: 0.5657 MB / 0.6192 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.8117, allocations: 239.2 kB / 0.6194 GB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.8296, allocations: 7.29 MB / 0.6265 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005513/0.8351, allocations: 2.525 MB / 0.629 GB, free: 8.219 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/0.8361, allocations: 159.4 kB / 0.6292 GB, free: 8.066 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8361, allocations: 0 / 0.6292 GB, free: 8.066 MB / 442.7 MB Notification: Performance of Templates: time 0.0751/0.9112, allocations: 32.43 MB / 0.6608 GB, free: 7.645 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches