Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking",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.001631/0.001631, allocations: 188.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001176/0.001176, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2958/0.2958, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007567/0.0007571, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1747, allocations: 58.85 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.006332/0.1811, allocations: 2.22 MB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.185, allocations: 0.9481 MB / 493.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.1854, allocations: 4 kB / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1856, allocations: 35.69 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007083/0.1864, allocations: 123.7 kB / 493.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1874, allocations: 119.7 kB / 493.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1885, allocations: 263.4 kB / 494 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.1888, allocations: 69.69 kB / 494.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.1892, allocations: 119.6 kB / 494.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.1896, allocations: 135.4 kB / 494.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.1897, allocations: 16 kB / 494.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.19, allocations: 32 kB / 494.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1901, allocations: 51.75 kB / 494.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1903, allocations: 85.52 kB / 494.5 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.191, allocations: 263.5 kB / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.191, allocations: 0 / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1911, allocations: 0 / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1911, allocations: 8 kB / 494.8 MB, free: 4.758 MB / 330.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.002101/0.1932, allocations: 0.5652 MB / 495.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.154e-05/0.1933, allocations: 8.031 kB / 495.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.1935, allocations: 70.47 kB / 495.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005052/0.194, allocations: 59.47 kB / 495.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.1947, allocations: 250.4 kB / 495.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.1948, allocations: 28.53 kB / 495.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.195, allocations: 43.83 kB / 495.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.1961, allocations: 294.7 kB / 496.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/0.1962, allocations: 7.906 kB / 496.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.1963, allocations: 16 kB / 496.1 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.1964, allocations: 7.953 kB / 496.1 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.1972, allocations: 192.4 kB / 496.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.2018, allocations: 1.289 MB / 497.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2033, allocations: 329 kB / 497.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.2034, allocations: 8 kB / 497.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.2035, allocations: 46.48 kB / 498 MB, free: 1.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 4.389e-06/0.2035, allocations: 4 kB / 498 MB, free: 1.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.005939/0.2095, allocations: 1.566 MB / 499.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.2097, allocations: 158.2 kB / 499.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.2102, allocations: 224.9 kB / 499.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.2103, allocations: 37.7 kB / 499.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.2106, allocations: 234.7 kB / 0.4884 GB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.2108, allocations: 153.7 kB / 0.4886 GB, free: 14.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.2109, allocations: 12 kB / 0.4886 GB, free: 14.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.2112, allocations: 330.8 kB / 0.4889 GB, free: 14.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.2116, allocations: 93.08 kB / 0.489 GB, free: 14.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/0.2122, allocations: 240.1 kB / 0.4892 GB, free: 13.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.2128, allocations: 132.8 kB / 0.4894 GB, free: 13.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.2128, allocations: 4 kB / 0.4894 GB, free: 13.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001484/0.2143, allocations: 393 kB / 0.4897 GB, free: 13.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.2144, allocations: 10.66 kB / 0.4898 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2144, allocations: 4 kB / 0.4898 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.2145, allocations: 8 kB / 0.4898 GB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.2155, allocations: 116.2 kB / 0.4899 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-05/0.2156, allocations: 15.94 kB / 0.4899 GB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.2161, allocations: 23.89 kB / 0.4899 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.2162, allocations: 24.42 kB / 0.4899 GB, free: 13.22 MB / 346.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 () * Number of clocked 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 0.0003426/0.2166, allocations: 161.6 kB / 0.4901 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.2169, allocations: 31.66 kB / 0.4901 GB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.2173, allocations: 119.3 kB / 0.4902 GB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.2174, allocations: 8 kB / 0.4902 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.2174, allocations: 4 kB / 0.4902 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.2174, allocations: 7.938 kB / 0.4903 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.221, allocations: 1.03 MB / 0.4913 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.221, allocations: 0 / 0.4913 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.2224, allocations: 103.8 kB / 0.4914 GB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.047e-05/0.2224, allocations: 7.953 kB / 0.4914 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.2225, allocations: 12 kB / 0.4914 GB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/0.2225, allocations: 12.23 kB / 0.4914 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.2226, allocations: 8 kB / 0.4914 GB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.2246, allocations: 0.9477 MB / 0.4923 GB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.2248, allocations: 108.7 kB / 0.4924 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.225, allocations: 15.95 kB / 0.4924 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.2258, allocations: 16.12 kB / 0.4925 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.226, allocations: 31.91 kB / 0.4925 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.226, allocations: 15.98 kB / 0.4925 GB, free: 10.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.2264, allocations: 152.5 kB / 0.4927 GB, free: 10.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.2264, allocations: 0 / 0.4927 GB, free: 10.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001533/0.228, allocations: 88 kB / 0.4927 GB, free: 10.12 MB / 346.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 () * Number of clocked 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.003115/0.2311, allocations: 2.338 MB / 0.495 GB, free: 7.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.2324, allocations: 276.2 kB / 0.4953 GB, free: 7.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.2324, allocations: 4 kB / 0.4953 GB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.2329, allocations: 129.1 kB / 0.4954 GB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.2343, allocations: 64.75 kB / 0.4955 GB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.2447, allocations: 5.613 MB / 0.501 GB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.2455, allocations: 0.8034 MB / 0.5017 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.2459, allocations: 103.4 kB / 0.5018 GB, free: 0.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2459, allocations: 0 / 0.5018 GB, free: 0.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.186, allocations: 5.173 MB / 0.5069 GB, free: 11.33 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat