Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",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.001613/0.001619, allocations: 187.1 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.133/2.133, allocations: 205.4 MB / 222.5 MB, free: 13.61 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.001187/0.001186, allocations: 94.84 kB / 270.9 MB, free: 13.14 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.3032/0.3032, allocations: 43.56 MB / 362.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007106/0.000711, allocations: 12 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1385, allocations: 58.86 MB / 490.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01993/0.1585, allocations: 10.73 MB / 0.4893 GB, free: 14.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1692, allocations: 4.761 MB / 0.494 GB, free: 9.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.1701, allocations: 19.81 kB / 0.494 GB, free: 9.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009281/0.171, allocations: 167.2 kB / 0.4941 GB, free: 9.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.1737, allocations: 0.5692 MB / 0.4947 GB, free: 8.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.1792, allocations: 1.185 MB / 0.4958 GB, free: 7.719 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.1811, allocations: 0.687 MB / 0.4965 GB, free: 7.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007918/0.182, allocations: 265.5 kB / 0.4968 GB, free: 6.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.1835, allocations: 414.7 kB / 0.4972 GB, free: 6.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.1845, allocations: 311 kB / 0.4975 GB, free: 6.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1847, allocations: 20 kB / 0.4975 GB, free: 6.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.1879, allocations: 0.9557 MB / 0.4984 GB, free: 5.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.1884, allocations: 131.6 kB / 0.4985 GB, free: 4.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.1887, allocations: 121.5 kB / 0.4987 GB, free: 4.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.1914, allocations: 0.9121 MB / 0.4995 GB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1915, allocations: 3.938 kB / 0.4996 GB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1915, allocations: 4 kB / 0.4996 GB, free: 3.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.1915, allocations: 0 / 0.4996 GB, free: 3.906 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002595/0.1941, allocations: 0.8469 MB / 0.5004 GB, free: 3.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.1942, allocations: 12.03 kB / 0.5004 GB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.1945, allocations: 70.47 kB / 0.5005 GB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.1949, allocations: 63.33 kB / 0.5005 GB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1959, allocations: 421.5 kB / 0.5009 GB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.283e-05/0.196, allocations: 28.55 kB / 0.501 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.1961, allocations: 24 kB / 0.501 GB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.1976, allocations: 0.5263 MB / 0.5015 GB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1976, allocations: 0 / 0.5015 GB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.1977, allocations: 19.94 kB / 0.5015 GB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.554e-05/0.1978, allocations: 28.55 kB / 0.5015 GB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1991, allocations: 461.9 kB / 0.502 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/0.2048, allocations: 2.288 MB / 0.5042 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.2056, allocations: 234.7 kB / 0.5044 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00209/0.2077, allocations: 1.041 MB / 0.5055 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.2083, allocations: 211.1 kB / 0.5057 GB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 3.146e-06/0.2084, allocations: 0 / 0.5057 GB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001229/0.2096, allocations: 463.7 kB / 0.5061 GB, free: 12.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.2098, allocations: 239.3 kB / 0.5063 GB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2109, allocations: 0.5136 MB / 0.5068 GB, free: 11.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/0.211, allocations: 33.7 kB / 0.5069 GB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.2113, allocations: 333.4 kB / 0.5072 GB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.2114, allocations: 47.36 kB / 0.5072 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2115, allocations: 4 kB / 0.5072 GB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2116, allocations: 338.8 kB / 0.5075 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.212, allocations: 124.4 kB / 0.5077 GB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.2126, allocations: 308.8 kB / 0.508 GB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.2132, allocations: 210.9 kB / 0.5082 GB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2132, allocations: 0 / 0.5082 GB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00135/0.2145, allocations: 0.4907 MB / 0.5086 GB, free: 9.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009148/0.2155, allocations: 1.779 MB / 0.5104 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.2156, allocations: 8.062 kB / 0.5104 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.2156, allocations: 15.94 kB / 0.5104 GB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.2163, allocations: 79.84 kB / 0.5105 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.2163, allocations: 8 kB / 0.5105 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.2171, allocations: 63.36 kB / 0.5105 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.2172, allocations: 20 kB / 0.5106 GB, free: 7.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2172, allocations: 4 kB / 0.5106 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.2185, allocations: 477.1 kB / 0.511 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2186, allocations: 4 kB / 0.511 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2186, allocations: 4 kB / 0.511 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.2192, allocations: 83.83 kB / 0.5111 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.2193, allocations: 8 kB / 0.5111 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.2198, allocations: 44.27 kB / 0.5112 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.2199, allocations: 20 kB / 0.5112 GB, free: 7.203 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0005623/0.2204, allocations: 314.4 kB / 0.5115 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.2206, allocations: 51.44 kB / 0.5115 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.2216, allocations: 372.3 kB / 0.5119 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2217, allocations: 0 / 0.5119 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2217, allocations: 0 / 0.5119 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.2217, allocations: 3.984 kB / 0.5119 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.2225, allocations: 417.2 kB / 0.5123 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2225, allocations: 0 / 0.5123 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.2228, allocations: 27.98 kB / 0.5123 GB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2228, allocations: 0 / 0.5123 GB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.2229, allocations: 4 kB / 0.5123 GB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2229, allocations: 0 / 0.5123 GB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2229, allocations: 4 kB / 0.5123 GB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.2238, allocations: 369.9 kB / 0.5127 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.2241, allocations: 136.5 kB / 0.5128 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2242, allocations: 8 kB / 0.5128 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.2247, allocations: 11.98 kB / 0.5128 GB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.2248, allocations: 15.98 kB / 0.5128 GB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.2248, allocations: 4 kB / 0.5128 GB, free: 5.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000738/0.2256, allocations: 378.8 kB / 0.5132 GB, free: 5.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2256, allocations: 0 / 0.5132 GB, free: 5.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001853/0.2275, allocations: 423.6 kB / 0.5136 GB, free: 4.598 MB / 362.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.002763/0.2303, allocations: 1.194 MB / 0.5148 GB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.2321, allocations: 0.6712 MB / 0.5154 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.188e-05/0.2322, allocations: 3.938 kB / 0.5154 GB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.2326, allocations: 187.3 kB / 0.5156 GB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.2343, allocations: 186.4 kB / 0.5158 GB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3216/0.556, allocations: 4.445 MB / 0.5201 GB, free: 42.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.5566, allocations: 0.8506 MB / 0.521 GB, free: 41.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.5571, allocations: 155.4 kB / 0.5211 GB, free: 41.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5571, allocations: 0 / 0.5211 GB, free: 41.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.768/3.325, allocations: 12.18 MB / 0.533 GB, free: 38.71 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat