Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",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.001495/0.001495, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.023/2.023, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001171/0.00117, allocations: 96.66 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5403/0.5403, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006609/0.0006607, allocations: 12 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1423, allocations: 58.86 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.627, allocations: 88.22 MB / 0.565 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.6274, allocations: 67.97 kB / 0.5651 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03115/0.6586, allocations: 6.592 MB / 0.5715 GB, free: 7.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6586, allocations: 0 / 0.5715 GB, free: 7.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.6587, allocations: 8 kB / 0.5715 GB, free: 7.496 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001492/0.6602, allocations: 0.5562 MB / 0.572 GB, free: 6.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.6602, allocations: 12.03 kB / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.6604, allocations: 62.53 kB / 0.5721 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/0.6605, allocations: 31.06 kB / 0.5721 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.6611, allocations: 282.9 kB / 0.5724 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.6612, allocations: 16.56 kB / 0.5724 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.6613, allocations: 24 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.6621, allocations: 252.8 kB / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.6621, allocations: 0 / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.6622, allocations: 15.94 kB / 0.5727 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6622, allocations: 4 kB / 0.5727 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.6631, allocations: 239.2 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.6655, allocations: 0.8899 MB / 0.5738 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6669, allocations: 340.8 kB / 0.5741 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.6671, allocations: 8 kB / 0.5741 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.6671, allocations: 42.52 kB / 0.5742 GB, free: 4.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 3.917e-06/0.6671, allocations: 0 / 0.5742 GB, free: 4.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.008009/0.6751, allocations: 1.233 MB / 0.5754 GB, free: 3.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.6752, allocations: 55.41 kB / 0.5754 GB, free: 3.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.6756, allocations: 192.2 kB / 0.5756 GB, free: 2.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.6757, allocations: 29.7 kB / 0.5756 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.6759, allocations: 219.5 kB / 0.5759 GB, free: 2.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.6761, allocations: 102.5 kB / 0.576 GB, free: 2.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.6761, allocations: 8 kB / 0.576 GB, free: 2.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6763, allocations: 322.8 kB / 0.5763 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.6767, allocations: 93.44 kB / 0.5764 GB, free: 2.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.6772, allocations: 133.7 kB / 0.5765 GB, free: 2.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.6776, allocations: 117.3 kB / 0.5766 GB, free: 1.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6776, allocations: 0 / 0.5766 GB, free: 1.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003313/0.681, allocations: 0.5571 MB / 0.5771 GB, free: 1.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.681, allocations: 4 kB / 0.5771 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.681, allocations: 3.984 kB / 0.5772 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.6839, allocations: 307.2 kB / 0.5774 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.6843, allocations: 43.84 kB / 0.5775 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.6958, allocations: 6.394 MB / 0.5837 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.6962, allocations: 35.77 kB / 0.5838 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.6963, allocations: 12 kB / 0.5838 GB, free: 10.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.6966, allocations: 137.8 kB / 0.5839 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.6966, allocations: 19.72 kB / 0.5839 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.6998, allocations: 0.5696 MB / 0.5845 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6999, allocations: 8 kB / 0.5845 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6999, allocations: 0 / 0.5845 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.6999, allocations: 0 / 0.5845 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.7007, allocations: 365.2 kB / 0.5848 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7007, allocations: 0 / 0.5848 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.701, allocations: 23.92 kB / 0.5849 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002706/0.7037, allocations: 311.2 kB / 0.5852 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.7038, allocations: 11.98 kB / 0.5852 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.7151, allocations: 6.343 MB / 0.5914 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7152, allocations: 0 / 0.5914 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.7184, allocations: 0.6273 MB / 0.592 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.7186, allocations: 105.3 kB / 0.5921 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.7187, allocations: 15.98 kB / 0.5921 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.719, allocations: 8 kB / 0.5921 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.7192, allocations: 35.91 kB / 0.5921 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.7193, allocations: 12 kB / 0.5921 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000277/0.7195, allocations: 164.4 kB / 0.5923 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7196, allocations: 0 / 0.5923 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007538/0.7203, allocations: 115.9 kB / 0.5924 GB, free: 0.543 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003629/0.724, allocations: 1.188 MB / 0.5936 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.7258, allocations: 0.7467 MB / 0.5943 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7258, allocations: 0 / 0.5943 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.7274, allocations: 0.6748 MB / 0.595 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.7278, allocations: 24.38 kB / 0.595 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.735, allocations: 1.971 MB / 0.5969 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.7358, allocations: 0.7794 MB / 0.5977 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.7362, allocations: 75.47 kB / 0.5977 GB, free: 10.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/0.7362, allocations: 0 / 0.5977 GB, free: 10.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/3.564, allocations: 8.738 MB / 0.6063 GB, free: 2.105 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat