Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008898, allocations: 88.39 kB / 281.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.15 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.083e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 61.91 MB / 0.4947 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5863, allocations: 89.72 MB / 0.5824 GB, free: 6.617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5867, allocations: 67.97 kB / 0.5824 GB, free: 6.551 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.6054, allocations: 6.623 MB / 0.5889 GB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6054, allocations: 0 / 0.5889 GB, free: 15.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.6054, allocations: 4 kB / 0.5889 GB, free: 15.91 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008824/0.6063, allocations: 0.5445 MB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6064, allocations: 11.98 kB / 0.5894 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.6066, allocations: 55.52 kB / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.607, allocations: 254.2 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.607, allocations: 8 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.6071, allocations: 31.94 kB / 0.5898 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003629/0.6074, allocations: 165.5 kB / 0.5899 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.6079, allocations: 258.8 kB / 0.5902 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6079, allocations: 4.75 kB / 0.5902 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.6079, allocations: 0 / 0.5902 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6079, allocations: 8 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.6096, allocations: 1.231 MB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.6101, allocations: 300.9 kB / 0.5917 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.6102, allocations: 88.3 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.6103, allocations: 4.547 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.6103, allocations: 54.42 kB / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 3.968e-06/0.6103, allocations: 0 / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001597/0.6119, allocations: 1.291 MB / 0.5931 GB, free: 11.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.612, allocations: 166.2 kB / 0.5932 GB, free: 10.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.6122, allocations: 175.9 kB / 0.5934 GB, free: 10.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.6122, allocations: 29.7 kB / 0.5934 GB, free: 10.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.6123, allocations: 176.5 kB / 0.5936 GB, free: 10.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.6124, allocations: 145.8 kB / 0.5937 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.6124, allocations: 0 / 0.5937 GB, free: 10.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6126, allocations: 338.8 kB / 0.5941 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6127, allocations: 85.12 kB / 0.5941 GB, free: 10.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.6129, allocations: 223 kB / 0.5944 GB, free: 9.738 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.6131, allocations: 119.9 kB / 0.5945 GB, free: 9.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6131, allocations: 0 / 0.5945 GB, free: 9.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004971/0.6136, allocations: 345.7 kB / 0.5948 GB, free: 9.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.6137, allocations: 8.062 kB / 0.5948 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.6137, allocations: 8 kB / 0.5948 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.6137, allocations: 11.95 kB / 0.5948 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.6141, allocations: 111.8 kB / 0.5949 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.6141, allocations: 16.08 kB / 0.595 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.6143, allocations: 11.98 kB / 0.595 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.6144, allocations: 20 kB / 0.595 GB, free: 9.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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 9.778e-05/0.6145, allocations: 120.8 kB / 0.5951 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004056/0.6149, allocations: 237.8 kB / 0.5953 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.615, allocations: 31.67 kB / 0.5954 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.6152, allocations: 103.5 kB / 0.5955 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6152, allocations: 4 kB / 0.5955 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.6152, allocations: 7.984 kB / 0.5955 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6153, allocations: 0 / 0.5955 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.6165, allocations: 0.9523 MB / 0.5964 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6166, allocations: 7.969 kB / 0.5964 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.617, allocations: 103.8 kB / 0.5965 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.617, allocations: 4.406 kB / 0.5965 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.617, allocations: 8 kB / 0.5965 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.617, allocations: 4 kB / 0.5965 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.617, allocations: 4 kB / 0.5965 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/0.6178, allocations: 0.9394 MB / 0.5974 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.6179, allocations: 104.7 kB / 0.5975 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.618, allocations: 4 kB / 0.5975 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.6183, allocations: 7.984 kB / 0.5976 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.6183, allocations: 31.86 kB / 0.5976 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.6184, allocations: 20 kB / 0.5976 GB, free: 6.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.6185, allocations: 140.5 kB / 0.5977 GB, free: 6.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6185, allocations: 0 / 0.5977 GB, free: 6.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005333/0.619, allocations: 68.38 kB / 0.5978 GB, free: 5.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (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 (41): * Single equations (assignments): 41 * 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.001251/0.6203, allocations: 2.299 MB / 0.6 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.6207, allocations: 235.5 kB / 0.6003 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6207, allocations: 0 / 0.6003 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.6209, allocations: 117 kB / 0.6004 GB, free: 3.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.6215, allocations: 59.22 kB / 0.6004 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.6235, allocations: 1.196 MB / 0.6016 GB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.6239, allocations: 0.7959 MB / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.6241, allocations: 39.27 kB / 0.6024 GB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.6243, allocations: 107.4 kB / 0.6025 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6243, allocations: 0 / 0.6025 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.6484, allocations: 5.338 MB / 0.6077 GB, free: 11.64 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.6487, allocations: 135.8 kB / 0.6079 GB, free: 11.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.575, allocations: 3.938 kB / 0.6079 GB, free: 11.44 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat