Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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.01013/0.01013, allocations: 165.5 kB / 15.11 MB, free: 5.934 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.747/1.747, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001974/0.001974, allocations: 111.3 kB / 226.2 MB, free: 10.1 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.4571/0.4571, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 48.7 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9395/1.048, allocations: 209.2 MB / 0.6063 GB, free: 107 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/1.048, allocations: 85.66 kB / 0.6064 GB, free: 107 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.783/3.832, allocations: 0.5002 GB / 1.107 GB, free: 54.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/3.832, allocations: 0 / 1.107 GB, free: 54.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001599/3.832, allocations: 32.67 kB / 1.107 GB, free: 54.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008326/3.84, allocations: 2.065 MB / 1.109 GB, free: 53.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/3.84, allocations: 9.656 kB / 1.109 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000559/3.841, allocations: 132.8 kB / 1.109 GB, free: 53.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/3.846, allocations: 354.3 kB / 1.109 GB, free: 53.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/3.849, allocations: 0.9089 MB / 1.11 GB, free: 53.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/3.849, allocations: 62.84 kB / 1.11 GB, free: 53.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/3.849, allocations: 80.31 kB / 1.11 GB, free: 53.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/3.854, allocations: 1.225 MB / 1.111 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/3.854, allocations: 3.938 kB / 1.111 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/3.854, allocations: 39.69 kB / 1.111 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/3.854, allocations: 20.44 kB / 1.111 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/3.859, allocations: 1.006 MB / 1.112 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/3.872, allocations: 6.247 MB / 1.118 GB, free: 49.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/3.875, allocations: 0.6375 MB / 1.119 GB, free: 49.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/3.876, allocations: 0.7581 MB / 1.12 GB, free: 48.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/3.876, allocations: 41.38 kB / 1.12 GB, free: 48.15 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001213/3.877, allocations: 107.5 kB / 1.12 GB, free: 48.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.148e-06/3.877, allocations: 0 / 1.12 GB, free: 48.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.009391/3.886, allocations: 1.439 MB / 1.121 GB, free: 47.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/3.886, allocations: 185.5 kB / 1.122 GB, free: 47.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/3.888, allocations: 0.7618 MB / 1.122 GB, free: 47.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000223/3.888, allocations: 36.73 kB / 1.122 GB, free: 47.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/3.889, allocations: 0.6035 MB / 1.123 GB, free: 47.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/3.889, allocations: 176.6 kB / 1.123 GB, free: 47.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/3.889, allocations: 18.41 kB / 1.123 GB, free: 47.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/3.889, allocations: 340.8 kB / 1.123 GB, free: 46.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/3.891, allocations: 356.3 kB / 1.124 GB, free: 46.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/3.892, allocations: 0.6934 MB / 1.124 GB, free: 46.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/3.894, allocations: 451.2 kB / 1.125 GB, free: 46.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/3.894, allocations: 3.625 kB / 1.125 GB, free: 46.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00458/3.898, allocations: 1.271 MB / 1.126 GB, free: 46.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009581/3.899, allocations: 4.178 MB / 1.13 GB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/3.899, allocations: 13.91 kB / 1.13 GB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/3.91, allocations: 0.7673 MB / 1.131 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/3.912, allocations: 293.7 kB / 1.131 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/3.914, allocations: 0.7905 MB / 1.132 GB, free: 41.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/3.916, allocations: 95.48 kB / 1.132 GB, free: 41.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/3.916, allocations: 80.83 kB / 1.132 GB, free: 41.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/3.916, allocations: 2.906 kB / 1.132 GB, free: 41.49 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004473/3.921, allocations: 1.107 MB / 1.133 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-05/3.921, allocations: 10.06 kB / 1.133 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/3.921, allocations: 91.36 kB / 1.133 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/3.923, allocations: 302.2 kB / 1.134 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/3.926, allocations: 1.668 MB / 1.135 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/3.928, allocations: 90.33 kB / 1.135 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/3.928, allocations: 74.2 kB / 1.135 GB, free: 40.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009871/3.929, allocations: 336.9 kB / 1.136 GB, free: 39.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/3.93, allocations: 109.1 kB / 1.136 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0067/3.936, allocations: 1.673 MB / 1.137 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/3.936, allocations: 7.438 kB / 1.137 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/3.936, allocations: 0 / 1.137 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/3.936, allocations: 10.33 kB / 1.137 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/3.942, allocations: 1.816 MB / 1.139 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/3.942, allocations: 3.844 kB / 1.139 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009132/3.943, allocations: 128.4 kB / 1.139 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005069/3.948, allocations: 0.5804 MB / 1.14 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/3.949, allocations: 21.55 kB / 1.14 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/3.95, allocations: 0.8118 MB / 1.141 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/3.95, allocations: 5.625 kB / 1.141 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/3.953, allocations: 1.064 MB / 1.142 GB, free: 38.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009717/3.954, allocations: 308.6 kB / 1.142 GB, free: 38.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/3.955, allocations: 14.92 kB / 1.142 GB, free: 38.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/3.956, allocations: 78.64 kB / 1.142 GB, free: 38.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/3.956, allocations: 51.95 kB / 1.142 GB, free: 38.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/3.957, allocations: 28.72 kB / 1.142 GB, free: 38.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001406/3.958, allocations: 0.5916 MB / 1.143 GB, free: 38.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/3.958, allocations: 2.438 kB / 1.143 GB, free: 38.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005251/3.963, allocations: 1.035 MB / 1.144 GB, free: 38.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.006716/3.97, allocations: 2.643 MB / 1.146 GB, free: 36.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005634/3.976, allocations: 1.564 MB / 1.148 GB, free: 36.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/3.976, allocations: 0 / 1.148 GB, free: 36.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/3.977, allocations: 400.2 kB / 1.148 GB, free: 36.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/3.981, allocations: 427 kB / 1.149 GB, free: 36.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/3.992, allocations: 10.59 MB / 1.159 GB, free: 27.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/3.993, allocations: 1.101 MB / 1.16 GB, free: 27.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00348/3.996, allocations: 0.792 MB / 1.161 GB, free: 26.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/3.997, allocations: 437.5 kB / 1.161 GB, free: 26.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/3.997, allocations: 0 / 1.161 GB, free: 26.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0926/4.09, allocations: 34.45 MB / 1.195 GB, free: 25.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/4.09, allocations: 275.9 kB / 1.195 GB, free: 24.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.286/8.376, allocations: 0 / 1.195 GB, free: 24.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat