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.001014/0.001014, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.712/1.712, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.435/0.435, allocations: 43.58 MB / 314.6 MB, free: 8.77 MB / 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.00057/0.0005702, allocations: 18.95 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2742/0.4076, allocations: 35.26 MB / 478.1 MB, free: 29.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.4265, allocations: 7.327 MB / 485.4 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008715/0.4353, allocations: 158.7 kB / 485.6 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.4413, allocations: 1.516 MB / 487.1 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.4563, allocations: 4.461 MB / 491.5 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.4584, allocations: 253.2 kB / 491.8 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.4622, allocations: 2.828 MB / 494.6 MB, free: 21.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004304/0.4666, allocations: 3.029 MB / 497.6 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.4682, allocations: 0.7409 MB / 498.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.4701, allocations: 1.155 MB / 499.5 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.4705, allocations: 98.47 kB / 499.6 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.4718, allocations: 0.5197 MB / 0.4884 GB, free: 19.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.4731, allocations: 1.078 MB / 0.4895 GB, free: 19.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.4737, allocations: 0.5662 MB / 0.49 GB, free: 18.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.4799, allocations: 3.717 MB / 0.4937 GB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.4799, allocations: 0 / 0.4937 GB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.4799, allocations: 4.5 kB / 0.4937 GB, free: 18.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002534/0.4802, allocations: 0 / 0.4937 GB, free: 18.06 MB / 382.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.00777/0.488, allocations: 2.618 MB / 0.4962 GB, free: 16.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.488, allocations: 9.812 kB / 0.4962 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/0.4938, allocations: 1.666 MB / 0.4979 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.4976, allocations: 1.385 MB / 0.4992 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.4977, allocations: 165.9 kB / 0.4994 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005212/0.4983, allocations: 203.5 kB / 0.4996 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.5125, allocations: 6.954 MB / 0.5064 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.5126, allocations: 17.31 kB / 0.5064 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.5129, allocations: 97.97 kB / 0.5065 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/0.5155, allocations: 1.529 MB / 0.508 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.5294, allocations: 5.915 MB / 0.5137 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03431/0.5637, allocations: 22.24 MB / 0.5355 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.5686, allocations: 2.187 MB / 0.5376 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.5699, allocations: 0.8011 MB / 0.5384 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0078/0.5777, allocations: 3.964 MB / 0.5423 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5778, allocations: 43.14 kB / 0.5423 GB, free: 8.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.927e-06/0.5778, allocations: 4 kB / 0.5423 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.00607/0.5839, allocations: 2.245 MB / 0.5445 GB, free: 6.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.584, allocations: 60.06 kB / 0.5445 GB, free: 6.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/0.5895, allocations: 2.045 MB / 0.5465 GB, free: 4.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.5897, allocations: 41.64 kB / 0.5466 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002227/0.5919, allocations: 2.007 MB / 0.5485 GB, free: 2.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/0.5925, allocations: 383.1 kB / 0.5489 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5927, allocations: 60 kB / 0.549 GB, free: 2.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004126/0.5931, allocations: 0.5019 MB / 0.5495 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.5951, allocations: 0.9785 MB / 0.5504 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/0.5986, allocations: 2.984 MB / 0.5533 GB, free: 12.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/0.6017, allocations: 1.71 MB / 0.555 GB, free: 10.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.534e-05/0.6018, allocations: 23.95 kB / 0.555 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007018/0.6088, allocations: 3.855 MB / 0.5588 GB, free: 6.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.6089, allocations: 36 kB / 0.5588 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-05/0.6089, allocations: 72 kB / 0.5589 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.916e-05/0.609, allocations: 104 kB / 0.559 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.6111, allocations: 0.7251 MB / 0.5597 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.6112, allocations: 135.5 kB / 0.5598 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.6134, allocations: 467.5 kB / 0.5603 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.6137, allocations: 200 kB / 0.5605 GB, free: 5.262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003015/0.6167, allocations: 1.474 MB / 0.5619 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.617, allocations: 177.6 kB / 0.5621 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.6191, allocations: 1.233 MB / 0.5633 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.6191, allocations: 15.98 kB / 0.5633 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6191, allocations: 4 kB / 0.5633 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.6192, allocations: 3.984 kB / 0.5633 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008729/0.6279, allocations: 5.018 MB / 0.5682 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.6279, allocations: 12 kB / 0.5682 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005635/0.6285, allocations: 139.7 kB / 0.5683 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/0.6285, allocations: 27.97 kB / 0.5684 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.6286, allocations: 28 kB / 0.5684 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/0.6286, allocations: 15.94 kB / 0.5684 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.6287, allocations: 15.94 kB / 0.5684 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.6309, allocations: 1.566 MB / 0.57 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.6315, allocations: 282.4 kB / 0.5702 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.6317, allocations: 31.94 kB / 0.5703 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.6323, allocations: 35.88 kB / 0.5703 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.6324, allocations: 83.66 kB / 0.5704 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/0.6325, allocations: 40 kB / 0.5704 GB, free: 10.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.6349, allocations: 1.333 MB / 0.5717 GB, free: 9.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6349, allocations: 0 / 0.5717 GB, free: 9.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003554/0.6384, allocations: 0.7776 MB / 0.5725 GB, free: 8.539 MB / 446.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 (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.0004321/0.6389, allocations: 147 kB / 0.5726 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.6427, allocations: 2.287 MB / 0.5748 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6427, allocations: 0 / 0.5748 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.6435, allocations: 0.5578 MB / 0.5754 GB, free: 5.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.645, allocations: 252.7 kB / 0.5756 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.6569, allocations: 6.986 MB / 0.5824 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/0.6596, allocations: 2.454 MB / 0.5848 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002729/0.6623, allocations: 1.039 MB / 0.5859 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.6626, allocations: 139.4 kB / 0.586 GB, free: 10.51 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6627, allocations: 0 / 0.586 GB, free: 10.51 MB / 462.1 MB Notification: Performance of Templates: time 0.03267/0.6953, allocations: 15.03 MB / 0.6007 GB, free: 11.51 MB / 478.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/jenkins/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_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches