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.001551/0.001551, allocations: 180.9 kB / 13.66 MB, free: 1.664 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.086/2.086, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001151/0.00115, allocations: 82.66 kB / 267.5 MB, free: 14.11 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.2936/0.2936, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.266e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6073, allocations: 88.14 MB / 0.559 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.6076, allocations: 72.31 kB / 0.559 GB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02949/0.6371, allocations: 6.576 MB / 0.5655 GB, free: 9.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6372, allocations: 0 / 0.5655 GB, free: 9.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.6372, allocations: 4 kB / 0.5655 GB, free: 9.402 MB / 378.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.001308/0.6385, allocations: 0.5275 MB / 0.566 GB, free: 8.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.6386, allocations: 12.03 kB / 0.566 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.6387, allocations: 60.66 kB / 0.566 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.6388, allocations: 35.62 kB / 0.5661 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.6394, allocations: 276.1 kB / 0.5663 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.6394, allocations: 27.88 kB / 0.5664 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.6395, allocations: 19.81 kB / 0.5664 GB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.6401, allocations: 225 kB / 0.5666 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6402, allocations: 0 / 0.5666 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.6402, allocations: 7.375 kB / 0.5666 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.6402, allocations: 8 kB / 0.5666 GB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.6408, allocations: 207.2 kB / 0.5668 GB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.643, allocations: 0.8805 MB / 0.5677 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.6442, allocations: 325.5 kB / 0.568 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.6445, allocations: 132 kB / 0.5681 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.6446, allocations: 15.81 kB / 0.5681 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.6446, allocations: 38.08 kB / 0.5682 GB, free: 7.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.6447, allocations: 4 kB / 0.5682 GB, free: 7.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.002955/0.6476, allocations: 497.5 kB / 0.5686 GB, free: 6.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.6477, allocations: 59.34 kB / 0.5687 GB, free: 6.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.648, allocations: 186 kB / 0.5689 GB, free: 6.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.6481, allocations: 33.02 kB / 0.5689 GB, free: 6.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6482, allocations: 215.9 kB / 0.5691 GB, free: 6.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.6483, allocations: 104.1 kB / 0.5692 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.6484, allocations: 10.81 kB / 0.5692 GB, free: 6.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6485, allocations: 317.6 kB / 0.5695 GB, free: 5.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.6488, allocations: 80.31 kB / 0.5696 GB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.6491, allocations: 106.1 kB / 0.5697 GB, free: 5.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.6494, allocations: 99.62 kB / 0.5698 GB, free: 5.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6494, allocations: 0 / 0.5698 GB, free: 5.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002886/0.6523, allocations: 0.4927 MB / 0.5703 GB, free: 5.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.6523, allocations: 8 kB / 0.5703 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.6524, allocations: 0 / 0.5703 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.6551, allocations: 320.7 kB / 0.5706 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.6555, allocations: 27.98 kB / 0.5706 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.666, allocations: 6.364 MB / 0.5768 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.6664, allocations: 27.19 kB / 0.5769 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.6665, allocations: 11.55 kB / 0.5769 GB, free: 14.52 MB / 394.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 () * 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.0001579/0.6667, allocations: 120.5 kB / 0.577 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.6668, allocations: 23.72 kB / 0.577 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.6696, allocations: 0.5284 MB / 0.5775 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6697, allocations: 4 kB / 0.5775 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.6697, allocations: 0 / 0.5775 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6697, allocations: 0 / 0.5775 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.6704, allocations: 361.8 kB / 0.5779 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6704, allocations: 4 kB / 0.5779 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.6706, allocations: 27.86 kB / 0.5779 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/0.6733, allocations: 312.7 kB / 0.5782 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.6733, allocations: 7.062 kB / 0.5782 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.6834, allocations: 6.286 MB / 0.5843 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6834, allocations: 7.953 kB / 0.5843 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.6863, allocations: 0.5934 MB / 0.5849 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.6864, allocations: 104.5 kB / 0.585 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.6865, allocations: 3.312 kB / 0.585 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.6869, allocations: 15.61 kB / 0.585 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.687, allocations: 39.47 kB / 0.5851 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.6871, allocations: 11.94 kB / 0.5851 GB, free: 6.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.6873, allocations: 154.2 kB / 0.5852 GB, free: 6.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6873, allocations: 0 / 0.5852 GB, free: 6.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000715/0.688, allocations: 122 kB / 0.5854 GB, free: 6.184 MB / 394.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 () * 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.003234/0.6913, allocations: 1.146 MB / 0.5865 GB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.6927, allocations: 0.7051 MB / 0.5872 GB, free: 4.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6928, allocations: 0 / 0.5872 GB, free: 4.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.6941, allocations: 0.6451 MB / 0.5878 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.6945, allocations: 24.61 kB / 0.5878 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.6959, allocations: 444.5 kB / 0.5882 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.6963, allocations: 0.7794 MB / 0.589 GB, free: 2.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.6965, allocations: 79.41 kB / 0.5891 GB, free: 2.551 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6965, allocations: 0 / 0.5891 GB, free: 2.551 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.658, allocations: 8.868 MB / 0.5977 GB, free: 9.727 MB / 410.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