Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 196 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009603/0.0009605, allocations: 94.69 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.185/0.185, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.118e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 63.25 MB / 0.5114 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.5312, allocations: 92.15 MB / 0.6014 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5315, allocations: 62.78 kB / 0.6015 GB, free: 1.688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0227/0.5543, allocations: 8.516 MB / 0.6098 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5543, allocations: 0 / 0.6098 GB, free: 10.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.5543, allocations: 12 kB / 0.6098 GB, free: 10.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008467/0.5552, allocations: 0.5807 MB / 0.6104 GB, free: 9.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5552, allocations: 15.97 kB / 0.6104 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/0.5553, allocations: 75.41 kB / 0.6105 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.5556, allocations: 71.41 kB / 0.6105 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.5559, allocations: 287.2 kB / 0.6108 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.556, allocations: 23.72 kB / 0.6108 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.556, allocations: 46.39 kB / 0.6109 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.5565, allocations: 344.4 kB / 0.6112 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.5566, allocations: 4 kB / 0.6112 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.5566, allocations: 14.42 kB / 0.6112 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.5566, allocations: 16 kB / 0.6112 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.557, allocations: 232.1 kB / 0.6115 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.5588, allocations: 1.523 MB / 0.613 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.5593, allocations: 394.3 kB / 0.6133 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.5595, allocations: 126.8 kB / 0.6134 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.5595, allocations: 7.984 kB / 0.6135 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5596, allocations: 53.36 kB / 0.6135 GB, free: 7.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.704e-06/0.5596, allocations: 0 / 0.6135 GB, free: 7.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001801/0.5614, allocations: 1.693 MB / 0.6152 GB, free: 5.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.5615, allocations: 195.8 kB / 0.6153 GB, free: 5.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.5617, allocations: 229.1 kB / 0.6156 GB, free: 4.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.5617, allocations: 32.2 kB / 0.6156 GB, free: 4.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.5618, allocations: 191.4 kB / 0.6158 GB, free: 4.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.562, allocations: 186.2 kB / 0.616 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.562, allocations: 11.25 kB / 0.616 GB, free: 4.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5621, allocations: 349.5 kB / 0.6163 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.5623, allocations: 108.2 kB / 0.6164 GB, free: 4.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.5625, allocations: 285.6 kB / 0.6167 GB, free: 3.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.5628, allocations: 158.4 kB / 0.6168 GB, free: 3.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5628, allocations: 4 kB / 0.6168 GB, free: 3.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006224/0.5634, allocations: 471.9 kB / 0.6173 GB, free: 3.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5634, allocations: 13.12 kB / 0.6173 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5635, allocations: 4 kB / 0.6173 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5635, allocations: 8 kB / 0.6173 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.564, allocations: 146.5 kB / 0.6174 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.564, allocations: 11.94 kB / 0.6175 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.5642, allocations: 22.89 kB / 0.6175 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.5643, allocations: 26.88 kB / 0.6175 GB, free: 3.105 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * 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.0001069/0.5644, allocations: 146 kB / 0.6176 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.5645, allocations: 39.62 kB / 0.6177 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.5647, allocations: 125.6 kB / 0.6178 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5648, allocations: 7.938 kB / 0.6178 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5648, allocations: 4.094 kB / 0.6178 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5648, allocations: 7.938 kB / 0.6178 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.5664, allocations: 1.239 MB / 0.619 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5664, allocations: 4 kB / 0.619 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.5669, allocations: 119.1 kB / 0.6191 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5669, allocations: 4 kB / 0.6192 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.5669, allocations: 15.25 kB / 0.6192 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.5669, allocations: 11.92 kB / 0.6192 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.567, allocations: 11.94 kB / 0.6192 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.5679, allocations: 1.161 MB / 0.6203 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.5679, allocations: 104.7 kB / 0.6204 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.568, allocations: 14.81 kB / 0.6204 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.5684, allocations: 18.86 kB / 0.6205 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.5684, allocations: 50.59 kB / 0.6205 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.5685, allocations: 15.81 kB / 0.6205 GB, free: 148 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.5686, allocations: 171 kB / 0.6207 GB, free: 0 / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5686, allocations: 0 / 0.6207 GB, free: 0 / 410.7 MB Notification: Performance of remove unused functions: time 0.000571/0.5692, allocations: 99.61 kB / 0.6208 GB, free: 15.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass6.s,mass6.v,mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * 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.001514/0.5707, allocations: 2.756 MB / 0.6235 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.5712, allocations: 319.3 kB / 0.6238 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5712, allocations: 0 / 0.6238 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.5715, allocations: 161.8 kB / 0.6239 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.5721, allocations: 76.95 kB / 0.624 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.5745, allocations: 1.46 MB / 0.6254 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.5748, allocations: 0.8199 MB / 0.6262 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.5751, allocations: 47.28 kB / 0.6263 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.5752, allocations: 136.7 kB / 0.6264 GB, free: 10.39 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5752, allocations: 7.875 kB / 0.6264 GB, free: 10.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.5941, allocations: 6.982 MB / 0.6332 GB, free: 3.539 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.5944, allocations: 143.7 kB / 0.6334 GB, free: 3.316 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.552, allocations: 0 / 0.6334 GB, free: 3.316 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat