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.001622/0.001622, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 100.3 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4352/0.4352, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3687, allocations: 63.24 MB / 0.5193 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4912, allocations: 92.22 MB / 0.6093 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4915, allocations: 72.88 kB / 0.6094 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02422/0.5158, allocations: 8.518 MB / 0.6177 GB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5158, allocations: 4 kB / 0.6177 GB, free: 4.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.5158, allocations: 8 kB / 0.6177 GB, free: 4.797 MB / 426.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.0009519/0.5168, allocations: 0.6251 MB / 0.6183 GB, free: 4.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5168, allocations: 8.031 kB / 0.6183 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.705e-05/0.5169, allocations: 74.53 kB / 0.6184 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.5172, allocations: 63.5 kB / 0.6185 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.5175, allocations: 285.3 kB / 0.6187 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.5176, allocations: 29 kB / 0.6188 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.5176, allocations: 32 kB / 0.6188 GB, free: 3.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.5182, allocations: 367.6 kB / 0.6191 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.5182, allocations: 7.844 kB / 0.6191 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.5182, allocations: 19.98 kB / 0.6192 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.5183, allocations: 8 kB / 0.6192 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.5187, allocations: 253.3 kB / 0.6194 GB, free: 2.934 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.5207, allocations: 1.529 MB / 0.6209 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.5214, allocations: 416.1 kB / 0.6213 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.5214, allocations: 7.984 kB / 0.6213 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5215, allocations: 46.5 kB / 0.6214 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.5215, allocations: 0 / 0.6214 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.003108/0.5246, allocations: 1.979 MB / 0.6233 GB, free: 14.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.5247, allocations: 199.9 kB / 0.6235 GB, free: 14.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.5249, allocations: 218.1 kB / 0.6237 GB, free: 14.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.525, allocations: 33.7 kB / 0.6237 GB, free: 14.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5251, allocations: 204.3 kB / 0.6239 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5252, allocations: 181.4 kB / 0.6241 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.5252, allocations: 12 kB / 0.6241 GB, free: 13.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5254, allocations: 346.8 kB / 0.6244 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.5256, allocations: 117.2 kB / 0.6245 GB, free: 13.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.5259, allocations: 299.9 kB / 0.6248 GB, free: 12.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.5262, allocations: 164.4 kB / 0.625 GB, free: 12.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5262, allocations: 4 kB / 0.625 GB, free: 12.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007622/0.527, allocations: 497.4 kB / 0.6255 GB, free: 12.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.527, allocations: 10.03 kB / 0.6255 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.527, allocations: 4 kB / 0.6255 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5271, allocations: 8.438 kB / 0.6255 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.5276, allocations: 143.8 kB / 0.6256 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.5276, allocations: 15.92 kB / 0.6256 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.5278, allocations: 27.86 kB / 0.6257 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.5279, allocations: 24 kB / 0.6257 GB, free: 11.93 MB / 442.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 () * Number of clocked 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.0001777/0.5281, allocations: 169.7 kB / 0.6258 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.5282, allocations: 43.55 kB / 0.6259 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.5284, allocations: 123.4 kB / 0.626 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.5285, allocations: 11.98 kB / 0.626 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5285, allocations: 0 / 0.626 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5285, allocations: 4 kB / 0.626 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.5303, allocations: 1.257 MB / 0.6273 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5303, allocations: 4.047 kB / 0.6273 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.5308, allocations: 127.8 kB / 0.6274 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.5308, allocations: 8 kB / 0.6274 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.5309, allocations: 12.19 kB / 0.6274 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5309, allocations: 12 kB / 0.6274 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5309, allocations: 7.938 kB / 0.6274 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.532, allocations: 1.183 MB / 0.6286 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.5321, allocations: 112.6 kB / 0.6287 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.5321, allocations: 15.98 kB / 0.6287 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.5325, allocations: 16 kB / 0.6287 GB, free: 8.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.5326, allocations: 43.84 kB / 0.6287 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.5326, allocations: 20 kB / 0.6288 GB, free: 8.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.5328, allocations: 178 kB / 0.6289 GB, free: 8.324 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5328, allocations: 0 / 0.6289 GB, free: 8.324 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006453/0.5334, allocations: 96 kB / 0.629 GB, free: 8.23 MB / 442.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 () * Number of clocked 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.001586/0.535, allocations: 2.775 MB / 0.6317 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.5356, allocations: 343.8 kB / 0.6321 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5356, allocations: 0 / 0.6321 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.5359, allocations: 172.8 kB / 0.6322 GB, free: 4.836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.5366, allocations: 81.02 kB / 0.6323 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.5423, allocations: 6.686 MB / 0.6388 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.5427, allocations: 0.8161 MB / 0.6396 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.5429, allocations: 47.3 kB / 0.6397 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5431, allocations: 131.4 kB / 0.6398 GB, free: 12.85 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5432, allocations: 4.188 kB / 0.6398 GB, free: 12.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.5629, allocations: 6.982 MB / 0.6466 GB, free: 6.039 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.5631, allocations: 162.9 kB / 0.6468 GB, free: 5.805 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.658, allocations: 3.938 kB / 0.6468 GB, free: 5.801 MB / 458.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