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.001281/0.00128, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.11 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2898, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01613/0.3059, allocations: 15 MB / 0.5453 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3169, allocations: 5.049 MB / 0.5502 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.3197, allocations: 119.6 kB / 0.5503 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.3307, allocations: 5.962 MB / 0.5561 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007911/0.3387, allocations: 2.734 MB / 0.5588 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.3425, allocations: 1.583 MB / 0.5604 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.3539, allocations: 7.772 MB / 0.5679 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009329/0.3632, allocations: 7.393 MB / 0.5752 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005255/0.3685, allocations: 2.964 MB / 0.5781 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005675/0.3742, allocations: 3.782 MB / 0.5818 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.3758, allocations: 0.5742 MB / 0.5823 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.3789, allocations: 1.389 MB / 0.5837 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004307/0.3832, allocations: 3.452 MB / 0.587 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005654/0.3889, allocations: 3.849 MB / 0.5908 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.4027, allocations: 11.68 MB / 0.6022 GB, free: 8.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4028, allocations: 0 / 0.6022 GB, free: 8.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4028, allocations: 0 / 0.6022 GB, free: 8.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003145/0.4031, allocations: 4 kB / 0.6022 GB, free: 8.086 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.01827/0.4214, allocations: 8.728 MB / 0.6107 GB, free: 15.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4214, allocations: 8.031 kB / 0.6107 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002179/0.4236, allocations: 1.166 MB / 0.6119 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.434, allocations: 2.562 MB / 0.6144 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.4444, allocations: 5.436 MB / 0.6197 GB, free: 5.996 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.4449, allocations: 422.6 kB / 0.6201 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.4465, allocations: 0.5466 MB / 0.6206 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03134/0.4778, allocations: 16.67 MB / 0.6369 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/0.4781, allocations: 79.39 kB / 0.637 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009239/0.479, allocations: 263.8 kB / 0.6372 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.4837, allocations: 2.927 MB / 0.6401 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02784/0.5115, allocations: 12.77 MB / 0.6526 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08533/0.5969, allocations: 64.09 MB / 0.7152 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4072/1.004, allocations: 5.375 MB / 0.7204 GB, free: 160 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/1.007, allocations: 2.117 MB / 0.7225 GB, free: 159.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/1.023, allocations: 9.946 MB / 0.7322 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/1.023, allocations: 48.75 kB / 0.7322 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.699e-06/1.023, allocations: 0 / 0.7322 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03463/1.057, allocations: 14.37 MB / 0.7463 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.058, allocations: 154.8 kB / 0.7464 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008857/1.066, allocations: 6.338 MB / 0.7526 GB, free: 142.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/1.067, allocations: 53.7 kB / 0.7527 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002597/1.069, allocations: 5.279 MB / 0.7578 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/1.07, allocations: 0.8558 MB / 0.7586 GB, free: 137 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/1.072, allocations: 1.673 MB / 0.7603 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/1.072, allocations: 301.1 kB / 0.7606 GB, free: 135 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/1.075, allocations: 2.288 MB / 0.7628 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004989/1.08, allocations: 7.643 MB / 0.7703 GB, free: 122.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008917/1.089, allocations: 10.81 MB / 0.7808 GB, free: 109 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/1.089, allocations: 56 kB / 0.7809 GB, free: 109 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01447/1.104, allocations: 9.593 MB / 0.7902 GB, free: 99.39 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.104, allocations: 88 kB / 0.7903 GB, free: 99.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.104, allocations: 192 kB / 0.7905 GB, free: 99.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/1.104, allocations: 251.9 kB / 0.7907 GB, free: 98.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/1.11, allocations: 1.903 MB / 0.7926 GB, free: 96.97 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002209/1.11, allocations: 370.6 kB / 0.793 GB, free: 96.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005445/1.115, allocations: 403.6 kB / 0.7933 GB, free: 96.21 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000966/1.116, allocations: 0.5114 MB / 0.7938 GB, free: 95.7 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.004655/1.121, allocations: 3.292 MB / 0.7971 GB, free: 92.4 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008874/1.122, allocations: 0.5587 MB / 0.7976 GB, free: 91.84 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.123, allocations: 0.6243 MB / 0.7982 GB, free: 91.2 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.123, allocations: 27.94 kB / 0.7982 GB, free: 91.18 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.123, allocations: 4.688 kB / 0.7982 GB, free: 91.17 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.123, allocations: 11.95 kB / 0.7983 GB, free: 91.16 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/1.143, allocations: 15 MB / 0.8129 GB, free: 75.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.039e-05/1.143, allocations: 48.25 kB / 0.8129 GB, free: 75.45 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.145, allocations: 447.1 kB / 0.8134 GB, free: 75.01 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.046e-05/1.145, allocations: 65.69 kB / 0.8134 GB, free: 74.95 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/1.145, allocations: 104 kB / 0.8135 GB, free: 74.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.079e-05/1.145, allocations: 91.64 kB / 0.8136 GB, free: 74.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.753e-05/1.145, allocations: 71.69 kB / 0.8137 GB, free: 74.68 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/1.148, allocations: 4.336 MB / 0.8179 GB, free: 69.64 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.15, allocations: 0.6533 MB / 0.8186 GB, free: 68.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/1.15, allocations: 108 kB / 0.8187 GB, free: 68.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/1.152, allocations: 111.9 kB / 0.8188 GB, free: 68.75 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/1.152, allocations: 318.5 kB / 0.8191 GB, free: 68.44 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.153, allocations: 124 kB / 0.8192 GB, free: 68.32 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005339/1.158, allocations: 3.948 MB / 0.8231 GB, free: 64.38 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.21e-07/1.158, allocations: 192 / 0.8231 GB, free: 64.38 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006675/1.165, allocations: 1.308 MB / 0.8243 GB, free: 63.07 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.004148/1.169, allocations: 5.064 MB / 0.8293 GB, free: 57.31 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006923/1.176, allocations: 5.434 MB / 0.8346 GB, free: 51.92 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-05/1.176, allocations: 8 kB / 0.8346 GB, free: 51.91 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.177, allocations: 1.198 MB / 0.8358 GB, free: 50.73 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/1.183, allocations: 0.8844 MB / 0.8366 GB, free: 49.86 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08755/1.27, allocations: 65.78 MB / 0.9009 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008159/1.279, allocations: 5.072 MB / 0.9058 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006334/1.285, allocations: 2.538 MB / 0.9083 GB, free: 15.09 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004868/1.29, allocations: 3.291 MB / 0.9115 GB, free: 11.8 MB / 0.6076 GB Notification: Performance of SimCode: time 1.032e-06/1.29, allocations: 0 / 0.9115 GB, free: 11.8 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3892/1.679, allocations: 92.97 MB / 1.002 GB, free: 190.3 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.16/32.84, allocations: 6.5 kB / 1.002 GB, free: 190.3 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