Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001973/0.001973, allocations: 183 kB / 13.19 MB, free: 2.129 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.582/1.582, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008182/0.0008182, allocations: 82.61 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4902/0.4902, allocations: 43.47 MB / 358.6 MB, free: 51.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.095e-05/5.103e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1599, allocations: 58.85 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6593, allocations: 105 MB / 0.5754 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.6595, allocations: 83.64 kB / 0.5755 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7878/1.447, allocations: 166.4 MB / 0.738 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.206e-06/1.447, allocations: 0 / 0.738 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007011/1.448, allocations: 163.9 kB / 0.7382 GB, free: 79.91 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03203/1.48, allocations: 7.989 MB / 0.746 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.097e-05/1.48, allocations: 9.812 kB / 0.746 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009654/1.49, allocations: 1.459 MB / 0.7474 GB, free: 76.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02222/1.512, allocations: 3.679 MB / 0.751 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02948/1.542, allocations: 9.702 MB / 0.7605 GB, free: 75.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001207/1.543, allocations: 0.6303 MB / 0.7611 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006194/1.549, allocations: 0.8348 MB / 0.7619 GB, free: 75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05517/1.604, allocations: 19.39 MB / 0.7808 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006169/1.605, allocations: 96.56 kB / 0.7809 GB, free: 69.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004868/1.61, allocations: 396.6 kB / 0.7813 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003567/1.614, allocations: 1.88 MB / 0.7832 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03653/1.65, allocations: 15.05 MB / 0.7979 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/1.768, allocations: 81.64 MB / 0.8776 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/1.784, allocations: 5.915 MB / 0.8834 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/1.789, allocations: 2.472 MB / 0.8858 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4196/2.208, allocations: 11.32 MB / 0.8968 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/2.209, allocations: 58.88 kB / 0.8969 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 8.756e-06/2.209, allocations: 0 / 0.8969 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.05195/2.261, allocations: 15 MB / 0.9115 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/2.261, allocations: 158.4 kB / 0.9117 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01418/2.275, allocations: 5.866 MB / 0.9174 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008014/2.276, allocations: 63.27 kB / 0.9175 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004663/2.28, allocations: 5.817 MB / 0.9232 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/2.282, allocations: 1.063 MB / 0.9242 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/2.282, allocations: 180.9 kB / 0.9244 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000451/2.283, allocations: 0.6889 MB / 0.925 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/2.286, allocations: 2.483 MB / 0.9275 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006778/2.293, allocations: 8.265 MB / 0.9355 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/2.301, allocations: 4.479 MB / 0.9399 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003257/2.301, allocations: 60.12 kB / 0.94 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02777/2.329, allocations: 10.45 MB / 0.9502 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002466/2.329, allocations: 94.25 kB / 0.9503 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003704/2.329, allocations: 210.1 kB / 0.9505 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/2.33, allocations: 301.8 kB / 0.9508 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008427/2.338, allocations: 2.259 MB / 0.953 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003753/2.339, allocations: 401.1 kB / 0.9533 GB, free: 73.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.349, allocations: 0.627 MB / 0.954 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003005/2.352, allocations: 0.5535 MB / 0.9545 GB, free: 73.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 60 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1168 * 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 prepare postOptimizeDAE: time 0.004607/2.357, allocations: 0.8367 MB / 0.9553 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00192/2.358, allocations: 0.592 MB / 0.9559 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007319/2.366, allocations: 2.923 MB / 0.9587 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-05/2.366, allocations: 33.73 kB / 0.9588 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/2.366, allocations: 0 / 0.9588 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/2.366, allocations: 15.86 kB / 0.9588 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04999/2.416, allocations: 24.77 MB / 0.983 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002857/2.416, allocations: 65.16 kB / 0.983 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/2.419, allocations: 0.6017 MB / 0.9836 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/2.419, allocations: 90.62 kB / 0.9837 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006318/2.42, allocations: 138.3 kB / 0.9839 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/2.42, allocations: 114.6 kB / 0.984 GB, free: 62.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.757e-05/2.42, allocations: 104.7 kB / 0.9841 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/2.431, allocations: 16.91 MB / 1.001 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/2.433, allocations: 0.7154 MB / 1.001 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/2.435, allocations: 147 kB / 1.001 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004691/2.44, allocations: 209.9 kB / 1.002 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006732/2.441, allocations: 414.3 kB / 1.002 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000463/2.441, allocations: 167.7 kB / 1.002 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01049/2.452, allocations: 4.108 MB / 1.006 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.32e-07/2.452, allocations: 0 / 1.006 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01386/2.466, allocations: 1.557 MB / 1.008 GB, free: 43.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.01484/2.48, allocations: 28.88 MB / 1.036 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01296/2.493, allocations: 6.02 MB / 1.042 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-05/2.494, allocations: 12.95 kB / 1.042 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/2.497, allocations: 1.588 MB / 1.043 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/2.503, allocations: 0.9059 MB / 1.044 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05533/2.559, allocations: 17.5 MB / 1.061 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01356/2.572, allocations: 5.972 MB / 1.067 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01104/2.583, allocations: 2.899 MB / 1.07 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008634/2.592, allocations: 3.866 MB / 1.074 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/2.592, allocations: 0 / 1.074 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5751/3.167, allocations: 123.4 MB / 1.194 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/3.167, allocations: 149.7 kB / 1.194 GB, free: 88.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/10.07, allocations: 0 / 1.194 GB, free: 88.64 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat