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.001432/0.001432, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 72.14 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 62.45 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2782/0.3918, allocations: 84.4 MB / 0.5508 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03732/0.4292, allocations: 16.15 MB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01393/0.4432, allocations: 382 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.4539, allocations: 5.792 MB / 0.5726 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.4619, allocations: 2.554 MB / 0.5751 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.4655, allocations: 1.498 MB / 0.5765 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01262/0.4782, allocations: 7.812 MB / 0.5842 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01273/0.4909, allocations: 7.766 MB / 0.5917 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.4952, allocations: 3.05 MB / 0.5947 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005142/0.5004, allocations: 4.207 MB / 0.5988 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.502, allocations: 0.5664 MB / 0.5994 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.5049, allocations: 1.412 MB / 0.6008 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00291/0.5079, allocations: 3.519 MB / 0.6042 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003212/0.5111, allocations: 3.872 MB / 0.608 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0088/0.5199, allocations: 11.33 MB / 0.619 GB, free: 8.125 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5199, allocations: 0 / 0.619 GB, free: 8.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5199, allocations: 0 / 0.619 GB, free: 8.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002458/0.5202, allocations: 0 / 0.619 GB, free: 8.125 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.5395, allocations: 8.499 MB / 0.6273 GB, free: 15.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.5396, allocations: 12.03 kB / 0.6274 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002868/0.5424, allocations: 1.173 MB / 0.6285 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/0.5568, allocations: 2.522 MB / 0.631 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.571, allocations: 5.286 MB / 0.6361 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006242/0.5717, allocations: 430.5 kB / 0.6365 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/0.574, allocations: 0.5464 MB / 0.6371 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04378/0.6178, allocations: 16.67 MB / 0.6534 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/0.6181, allocations: 71.41 kB / 0.6534 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001788/0.6199, allocations: 267.7 kB / 0.6537 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00457/0.6245, allocations: 2.927 MB / 0.6565 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.6517, allocations: 12.78 MB / 0.669 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.488/1.14, allocations: 64.27 MB / 0.7318 GB, free: 153.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/1.156, allocations: 5.383 MB / 0.737 GB, free: 153 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/1.159, allocations: 2.119 MB / 0.7391 GB, free: 152.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/1.174, allocations: 9.92 MB / 0.7488 GB, free: 148.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.174, allocations: 56.97 kB / 0.7489 GB, free: 148.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 4.84e-06/1.174, allocations: 2.188 kB / 0.7489 GB, free: 148.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03602/1.21, allocations: 13.97 MB / 0.7625 GB, free: 142.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.21, allocations: 152.2 kB / 0.7626 GB, free: 142.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00762/1.217, allocations: 6.318 MB / 0.7688 GB, free: 139.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/1.218, allocations: 60.23 kB / 0.7689 GB, free: 139.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/1.22, allocations: 5.084 MB / 0.7738 GB, free: 134.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/1.22, allocations: 0.8126 MB / 0.7746 GB, free: 134.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/1.222, allocations: 1.659 MB / 0.7762 GB, free: 133.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/1.222, allocations: 301.1 kB / 0.7765 GB, free: 133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/1.224, allocations: 2.297 MB / 0.7788 GB, free: 131.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/1.229, allocations: 7.633 MB / 0.7862 GB, free: 122.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007561/1.236, allocations: 10.82 MB / 0.7968 GB, free: 109.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/1.236, allocations: 56 kB / 0.7969 GB, free: 109 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01263/1.249, allocations: 9.56 MB / 0.8062 GB, free: 99.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.249, allocations: 84 kB / 0.8063 GB, free: 99.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/1.249, allocations: 192 kB / 0.8064 GB, free: 99.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/1.249, allocations: 248 kB / 0.8067 GB, free: 98.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/1.255, allocations: 1.906 MB / 0.8085 GB, free: 97.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002303/1.255, allocations: 374.5 kB / 0.8089 GB, free: 96.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/1.261, allocations: 407.1 kB / 0.8093 GB, free: 96.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008506/1.262, allocations: 0.5078 MB / 0.8098 GB, free: 95.77 MB / 0.545 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.005316/1.267, allocations: 3.292 MB / 0.813 GB, free: 92.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.268, allocations: 0.532 MB / 0.8135 GB, free: 91.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/1.27, allocations: 0.6322 MB / 0.8141 GB, free: 91.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/1.27, allocations: 20 kB / 0.8142 GB, free: 91.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/1.27, allocations: 0 / 0.8142 GB, free: 91.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/1.27, allocations: 11.97 kB / 0.8142 GB, free: 91.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.291, allocations: 14.99 MB / 0.8288 GB, free: 75.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/1.291, allocations: 48 kB / 0.8289 GB, free: 75.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.292, allocations: 451.1 kB / 0.8293 GB, free: 75.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-05/1.292, allocations: 60.75 kB / 0.8293 GB, free: 75.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.292, allocations: 99.98 kB / 0.8294 GB, free: 74.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.17e-05/1.292, allocations: 91.66 kB / 0.8295 GB, free: 74.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.319e-05/1.292, allocations: 75.67 kB / 0.8296 GB, free: 74.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/1.296, allocations: 4.304 MB / 0.8338 GB, free: 69.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.297, allocations: 0.6305 MB / 0.8344 GB, free: 69.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/1.298, allocations: 110.1 kB / 0.8345 GB, free: 69.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.3, allocations: 108 kB / 0.8346 GB, free: 68.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.3, allocations: 310.9 kB / 0.8349 GB, free: 68.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.3, allocations: 135 kB / 0.835 GB, free: 68.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004909/1.305, allocations: 3.952 MB / 0.8389 GB, free: 64.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.9e-07/1.305, allocations: 0 / 0.8389 GB, free: 64.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006008/1.311, allocations: 1.306 MB / 0.8402 GB, free: 63.24 MB / 0.545 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.003304/1.314, allocations: 5.028 MB / 0.8451 GB, free: 57.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007049/1.321, allocations: 5.49 MB / 0.8505 GB, free: 52.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.021e-05/1.321, allocations: 8.062 kB / 0.8505 GB, free: 52.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/1.323, allocations: 1.204 MB / 0.8516 GB, free: 50.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/1.328, allocations: 0.8899 MB / 0.8525 GB, free: 50.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/1.437, allocations: 82.06 MB / 0.9326 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.218/1.655, allocations: 5.068 MB / 0.9376 GB, free: 226.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006581/1.662, allocations: 2.54 MB / 0.9401 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003988/1.666, allocations: 3.291 MB / 0.9433 GB, free: 225.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/1.666, allocations: 0.9688 kB / 0.9433 GB, free: 225.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/1.907, allocations: 97.93 MB / 1.039 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.907, allocations: 193.5 kB / 1.039 GB, free: 150 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.296/7.203, allocations: 0 / 1.039 GB, free: 150 MB / 0.5919 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