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.001103/0.001103, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008174/0.0008174, allocations: 101.4 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.446e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.5031, allocations: 91.48 MB / 0.5938 GB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.5033, allocations: 62.34 kB / 0.5938 GB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02355/0.5269, allocations: 8.445 MB / 0.6021 GB, free: 3.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5269, allocations: 0 / 0.6021 GB, free: 3.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.573e-05/0.527, allocations: 12 kB / 0.6021 GB, free: 3.789 MB / 394.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.001097/0.5281, allocations: 0.5901 MB / 0.6027 GB, free: 3.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5281, allocations: 12.03 kB / 0.6027 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.5285, allocations: 67.41 kB / 0.6028 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.5289, allocations: 279.1 kB / 0.603 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.529, allocations: 12 kB / 0.603 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.5291, allocations: 31.89 kB / 0.6031 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004042/0.5295, allocations: 207.1 kB / 0.6033 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.53, allocations: 290.7 kB / 0.6035 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.53, allocations: 4 kB / 0.6035 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.53, allocations: 0 / 0.6035 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5301, allocations: 8 kB / 0.6036 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.5321, allocations: 1.474 MB / 0.605 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.5326, allocations: 363.5 kB / 0.6053 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.5328, allocations: 114.2 kB / 0.6054 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.5328, allocations: 7.938 kB / 0.6055 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.5329, allocations: 46.47 kB / 0.6055 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.5329, allocations: 0 / 0.6055 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.001939/0.5348, allocations: 1.618 MB / 0.6071 GB, free: 14.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.5349, allocations: 191.9 kB / 0.6073 GB, free: 14.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.5351, allocations: 199.9 kB / 0.6075 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5352, allocations: 25.7 kB / 0.6075 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5353, allocations: 194.7 kB / 0.6077 GB, free: 14.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.5354, allocations: 180.7 kB / 0.6078 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.5354, allocations: 0 / 0.6078 GB, free: 14.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5356, allocations: 358.4 kB / 0.6082 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5357, allocations: 99 kB / 0.6083 GB, free: 13.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.536, allocations: 265.5 kB / 0.6085 GB, free: 13.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.5363, allocations: 142.5 kB / 0.6087 GB, free: 13.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5363, allocations: 4 kB / 0.6087 GB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006819/0.537, allocations: 421.2 kB / 0.6091 GB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.537, allocations: 8 kB / 0.6091 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.537, allocations: 8 kB / 0.6091 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.537, allocations: 8 kB / 0.6091 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.5375, allocations: 139.8 kB / 0.6092 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5376, allocations: 15.94 kB / 0.6092 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.5378, allocations: 11.98 kB / 0.6092 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.5378, allocations: 26.19 kB / 0.6093 GB, free: 12.69 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.0001167/0.538, allocations: 120.8 kB / 0.6094 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000497/0.5385, allocations: 278.5 kB / 0.6097 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.5386, allocations: 39.56 kB / 0.6097 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.5388, allocations: 117.8 kB / 0.6098 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5388, allocations: 8.328 kB / 0.6098 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5389, allocations: 4 kB / 0.6098 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.5389, allocations: 3.953 kB / 0.6098 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.5407, allocations: 1.148 MB / 0.6109 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.5407, allocations: 16.27 kB / 0.611 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.5413, allocations: 124.1 kB / 0.6111 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.5414, allocations: 4 kB / 0.6111 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.5414, allocations: 9.812 kB / 0.6111 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.5414, allocations: 4 kB / 0.6111 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.5414, allocations: 7.938 kB / 0.6111 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.5428, allocations: 1.116 MB / 0.6122 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.5429, allocations: 112 kB / 0.6123 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.543, allocations: 8 kB / 0.6123 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.5434, allocations: 8 kB / 0.6123 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.5435, allocations: 39.16 kB / 0.6123 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.5435, allocations: 23.36 kB / 0.6124 GB, free: 9.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.5437, allocations: 156.1 kB / 0.6125 GB, free: 9.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5437, allocations: 4 kB / 0.6125 GB, free: 9.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007849/0.5445, allocations: 83.94 kB / 0.6126 GB, free: 9.406 MB / 410.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.002381/0.5469, allocations: 2.689 MB / 0.6152 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006795/0.5476, allocations: 297.5 kB / 0.6155 GB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5476, allocations: 0 / 0.6155 GB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.5479, allocations: 148 kB / 0.6157 GB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.5487, allocations: 57.89 kB / 0.6157 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.5514, allocations: 1.435 MB / 0.6171 GB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5519, allocations: 0.8195 MB / 0.6179 GB, free: 4.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.5522, allocations: 43.27 kB / 0.618 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.5524, allocations: 131.5 kB / 0.6181 GB, free: 3.977 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.5524, allocations: 288 / 0.6181 GB, free: 3.977 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.5807, allocations: 6.467 MB / 0.6244 GB, free: 13.56 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.581, allocations: 130.8 kB / 0.6245 GB, free: 13.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.605, allocations: 0 / 0.6245 GB, free: 13.37 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