Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 197.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3009, allocations: 62.42 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01533/0.3163, allocations: 15 MB / 0.5452 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.3269, allocations: 5.042 MB / 0.5501 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.3297, allocations: 117 kB / 0.5502 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.3401, allocations: 5.966 MB / 0.556 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006824/0.347, allocations: 2.735 MB / 0.5587 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.3505, allocations: 1.583 MB / 0.5602 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.3611, allocations: 7.779 MB / 0.5678 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009077/0.3702, allocations: 7.388 MB / 0.575 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005133/0.3754, allocations: 2.937 MB / 0.5779 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.381, allocations: 3.789 MB / 0.5816 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.3828, allocations: 0.5703 MB / 0.5822 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.3865, allocations: 1.397 MB / 0.5835 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004271/0.3908, allocations: 3.523 MB / 0.587 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005686/0.3965, allocations: 3.86 MB / 0.5907 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.4093, allocations: 11.62 MB / 0.6021 GB, free: 8.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4093, allocations: 0 / 0.6021 GB, free: 8.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4093, allocations: 0 / 0.6021 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003854/0.4097, allocations: 0 / 0.6021 GB, free: 8.184 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01928/0.429, allocations: 8.491 MB / 0.6104 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4291, allocations: 12.03 kB / 0.6104 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002907/0.432, allocations: 1.173 MB / 0.6115 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.4425, allocations: 2.518 MB / 0.614 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.4535, allocations: 5.402 MB / 0.6193 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/0.4539, allocations: 422.6 kB / 0.6197 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.4557, allocations: 0.5465 MB / 0.6202 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0315/0.4872, allocations: 16.68 MB / 0.6365 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/0.4875, allocations: 71.39 kB / 0.6366 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.4891, allocations: 267.8 kB / 0.6368 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004323/0.4934, allocations: 2.924 MB / 0.6397 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/0.5209, allocations: 12.78 MB / 0.6522 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08149/0.6024, allocations: 63.97 MB / 0.7146 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4165/1.019, allocations: 5.377 MB / 0.7199 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/1.022, allocations: 2.115 MB / 0.722 GB, free: 159.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/1.038, allocations: 9.919 MB / 0.7316 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.038, allocations: 59.22 kB / 0.7317 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.849e-06/1.038, allocations: 3.938 kB / 0.7317 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03301/1.071, allocations: 13.97 MB / 0.7453 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/1.071, allocations: 159.9 kB / 0.7455 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00752/1.078, allocations: 6.319 MB / 0.7517 GB, free: 143.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002668/1.079, allocations: 57.7 kB / 0.7517 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.081, allocations: 5.084 MB / 0.7567 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/1.082, allocations: 0.8193 MB / 0.7575 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/1.084, allocations: 1.654 MB / 0.7591 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.547e-05/1.084, allocations: 304.7 kB / 0.7594 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/1.087, allocations: 2.292 MB / 0.7616 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/1.091, allocations: 7.639 MB / 0.7691 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/1.1, allocations: 10.81 MB / 0.7796 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/1.1, allocations: 56 kB / 0.7797 GB, free: 109.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01406/1.114, allocations: 9.566 MB / 0.789 GB, free: 99.96 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.114, allocations: 88 kB / 0.7891 GB, free: 99.87 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.114, allocations: 188 kB / 0.7893 GB, free: 99.69 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/1.114, allocations: 255.9 kB / 0.7895 GB, free: 99.44 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005613/1.12, allocations: 1.899 MB / 0.7914 GB, free: 97.54 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002064/1.12, allocations: 374.5 kB / 0.7918 GB, free: 97.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005467/1.126, allocations: 411.2 kB / 0.7922 GB, free: 96.77 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009586/1.127, allocations: 0.5078 MB / 0.7926 GB, free: 96.26 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.004146/1.131, allocations: 3.288 MB / 0.7959 GB, free: 92.96 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007804/1.132, allocations: 0.5283 MB / 0.7964 GB, free: 92.43 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/1.133, allocations: 0.6243 MB / 0.797 GB, free: 91.79 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/1.133, allocations: 20 kB / 0.797 GB, free: 91.77 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.133, allocations: 4 kB / 0.797 GB, free: 91.77 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.133, allocations: 11.95 kB / 0.797 GB, free: 91.76 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/1.15, allocations: 14.99 MB / 0.8117 GB, free: 76.09 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/1.15, allocations: 48 kB / 0.8117 GB, free: 76.04 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.151, allocations: 447.2 kB / 0.8121 GB, free: 75.61 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-05/1.152, allocations: 64.06 kB / 0.8122 GB, free: 75.54 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.152, allocations: 96 kB / 0.8123 GB, free: 75.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.254e-05/1.152, allocations: 93.52 kB / 0.8124 GB, free: 75.36 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.798e-05/1.152, allocations: 79.62 kB / 0.8125 GB, free: 75.28 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/1.155, allocations: 4.3 MB / 0.8167 GB, free: 70.27 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.156, allocations: 0.6304 MB / 0.8173 GB, free: 69.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008519/1.157, allocations: 111.6 kB / 0.8174 GB, free: 69.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.159, allocations: 111.9 kB / 0.8175 GB, free: 69.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/1.16, allocations: 314.5 kB / 0.8178 GB, free: 69.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.16, allocations: 124 kB / 0.8179 GB, free: 68.97 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00546/1.165, allocations: 3.948 MB / 0.8218 GB, free: 65.04 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.61e-07/1.165, allocations: 0 / 0.8218 GB, free: 65.04 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006423/1.172, allocations: 1.311 MB / 0.823 GB, free: 63.73 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.004031/1.176, allocations: 5.026 MB / 0.8279 GB, free: 58 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006902/1.183, allocations: 5.426 MB / 0.8332 GB, free: 52.65 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-05/1.183, allocations: 8 kB / 0.8332 GB, free: 52.64 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.184, allocations: 1.198 MB / 0.8344 GB, free: 51.45 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/1.19, allocations: 0.8904 MB / 0.8353 GB, free: 50.58 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08304/1.273, allocations: 65.49 MB / 0.8992 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007465/1.28, allocations: 5.076 MB / 0.9042 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00616/1.286, allocations: 2.542 MB / 0.9067 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004734/1.291, allocations: 3.291 MB / 0.9099 GB, free: 12.85 MB / 0.6076 GB Notification: Performance of SimCode: time 1.463e-06/1.291, allocations: 0 / 0.9099 GB, free: 12.85 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/1.656, allocations: 94.13 MB / 1.002 GB, free: 190.4 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.2/28.86, allocations: 15.78 kB / 1.002 GB, free: 190.4 MB / 0.6388 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches