Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01024/0.01024, allocations: 166.4 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.614/1.614, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001969/0.001968, allocations: 115.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.465/0.465, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1086, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9923/1.101, allocations: 304.9 MB / 0.6998 GB, free: 41.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.101, allocations: 87.02 kB / 0.6998 GB, free: 41.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6411/1.742, allocations: 96.63 MB / 0.7942 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.742, allocations: 3.969 kB / 0.7942 GB, free: 106 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.725e-05/1.742, allocations: 11.81 kB / 0.7942 GB, free: 106 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002261/1.745, allocations: 0.8778 MB / 0.7951 GB, free: 105.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.745, allocations: 11.88 kB / 0.7951 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/1.745, allocations: 75.86 kB / 0.7952 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/1.745, allocations: 62.05 kB / 0.7952 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/1.747, allocations: 475.5 kB / 0.7957 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/1.747, allocations: 20.12 kB / 0.7957 GB, free: 104.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/1.747, allocations: 34.02 kB / 0.7957 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.748, allocations: 0.4996 MB / 0.7962 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/1.748, allocations: 4 kB / 0.7962 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/1.748, allocations: 19.47 kB / 0.7962 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/1.748, allocations: 27.41 kB / 0.7963 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.749, allocations: 440.3 kB / 0.7967 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/1.754, allocations: 2.241 MB / 0.7989 GB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/1.755, allocations: 207.8 kB / 0.7991 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/1.758, allocations: 0.9934 MB / 0.8 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/1.758, allocations: 141.3 kB / 0.8002 GB, free: 101.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 4.518e-06/1.758, allocations: 0 / 0.8002 GB, free: 101.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001172/1.759, allocations: 359.8 kB / 0.8005 GB, free: 101.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/1.759, allocations: 161.9 kB / 0.8007 GB, free: 101.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.76, allocations: 434.5 kB / 0.8011 GB, free: 101 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/1.761, allocations: 33.7 kB / 0.8011 GB, free: 101 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/1.761, allocations: 305.8 kB / 0.8014 GB, free: 100.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/1.761, allocations: 46.38 kB / 0.8015 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/1.761, allocations: 4 kB / 0.8015 GB, free: 100.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/1.761, allocations: 355.5 kB / 0.8018 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/1.762, allocations: 106.3 kB / 0.8019 GB, free: 100.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/1.762, allocations: 319.9 kB / 0.8022 GB, free: 99.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/1.763, allocations: 195.6 kB / 0.8024 GB, free: 99.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.763, allocations: 3.844 kB / 0.8024 GB, free: 99.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0018/1.765, allocations: 0.4949 MB / 0.8029 GB, free: 99.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008776/1.766, allocations: 2.825 MB / 0.8056 GB, free: 96.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/1.766, allocations: 9.25 kB / 0.8057 GB, free: 96.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.612e-05/1.766, allocations: 11.31 kB / 0.8057 GB, free: 96.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/1.767, allocations: 88.47 kB / 0.8057 GB, free: 96.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/1.767, allocations: 13.34 kB / 0.8058 GB, free: 96.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.768, allocations: 61.47 kB / 0.8058 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.768, allocations: 25.69 kB / 0.8058 GB, free: 96.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.768, allocations: 2.719 kB / 0.8058 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/1.77, allocations: 457.8 kB / 0.8063 GB, free: 96.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.77, allocations: 11.53 kB / 0.8063 GB, free: 96.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.77, allocations: 10.88 kB / 0.8063 GB, free: 96.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/1.771, allocations: 85.42 kB / 0.8064 GB, free: 96.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/1.771, allocations: 15.75 kB / 0.8064 GB, free: 96.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/1.772, allocations: 46.69 kB / 0.8064 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/1.772, allocations: 22.86 kB / 0.8065 GB, free: 96.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0006066/1.773, allocations: 308.1 kB / 0.8068 GB, free: 96.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/1.773, allocations: 52.64 kB / 0.8068 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.774, allocations: 282.3 kB / 0.8071 GB, free: 95.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.774, allocations: 3.906 kB / 0.8071 GB, free: 95.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.774, allocations: 4 kB / 0.8071 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.774, allocations: 0 / 0.8071 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/1.775, allocations: 376.7 kB / 0.8074 GB, free: 95.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.775, allocations: 0 / 0.8074 GB, free: 95.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/1.775, allocations: 13.62 kB / 0.8075 GB, free: 95.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/1.775, allocations: 11.48 kB / 0.8075 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/1.775, allocations: 10.94 kB / 0.8075 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.775, allocations: 0 / 0.8075 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.775, allocations: 0 / 0.8075 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/1.776, allocations: 280.1 kB / 0.8077 GB, free: 95.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.777, allocations: 133.3 kB / 0.8079 GB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/1.777, allocations: 11.89 kB / 0.8079 GB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/1.777, allocations: 9.859 kB / 0.8079 GB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/1.778, allocations: 14.58 kB / 0.8079 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/1.778, allocations: 7.531 kB / 0.8079 GB, free: 95.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000873/1.779, allocations: 335.8 kB / 0.8082 GB, free: 95.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.779, allocations: 0 / 0.8082 GB, free: 95.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002924/1.782, allocations: 453.4 kB / 0.8087 GB, free: 95.03 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.003578/1.785, allocations: 1.215 MB / 0.8099 GB, free: 94.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001951/1.787, allocations: 0.5719 MB / 0.8104 GB, free: 93.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.787, allocations: 0 / 0.8104 GB, free: 93.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/1.788, allocations: 137.2 kB / 0.8105 GB, free: 93.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.789, allocations: 140.9 kB / 0.8107 GB, free: 93.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006461/1.796, allocations: 6.315 MB / 0.8168 GB, free: 87.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/1.796, allocations: 0.8514 MB / 0.8177 GB, free: 87.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001332/1.798, allocations: 152.1 kB / 0.8178 GB, free: 87.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/1.798, allocations: 150.2 kB / 0.818 GB, free: 87.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/1.798, allocations: 3.938 kB / 0.818 GB, free: 87.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06038/1.859, allocations: 14.05 MB / 0.8317 GB, free: 78.02 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/1.859, allocations: 219.6 kB / 0.8319 GB, free: 77.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/4.979, allocations: 4 kB / 0.8319 GB, free: 77.77 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat