Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009807/0.009807, allocations: 176.2 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.033/2.033, allocations: 194.5 MB / 210.3 MB, free: 8.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002077/0.002077, allocations: 112.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2855/0.2855, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007676/0.0007676, allocations: 11.56 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1848, allocations: 54.87 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6697/0.8545, allocations: 215.5 MB / 0.6608 GB, free: 7.676 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.8549, allocations: 86.2 kB / 0.6609 GB, free: 7.629 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.051/3.906, allocations: 0.5098 GB / 1.171 GB, free: 75.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.206e-06/3.906, allocations: 3.094 kB / 1.171 GB, free: 75.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001819/3.906, allocations: 35.83 kB / 1.171 GB, free: 75.25 MB / 490.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.008768/3.915, allocations: 2.05 MB / 1.173 GB, free: 74.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/3.915, allocations: 6.312 kB / 1.173 GB, free: 74.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007331/3.916, allocations: 141.8 kB / 1.173 GB, free: 74.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/3.921, allocations: 361.4 kB / 1.173 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/3.925, allocations: 0.8945 MB / 1.174 GB, free: 74.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/3.925, allocations: 68.14 kB / 1.174 GB, free: 74.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/3.925, allocations: 80.75 kB / 1.174 GB, free: 74.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/3.931, allocations: 1.233 MB / 1.175 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/3.931, allocations: 3.938 kB / 1.175 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/3.931, allocations: 37.94 kB / 1.175 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/3.931, allocations: 22.59 kB / 1.175 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/3.936, allocations: 0.9988 MB / 1.176 GB, free: 73.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/3.949, allocations: 6.257 MB / 1.183 GB, free: 69.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/3.952, allocations: 0.6375 MB / 1.183 GB, free: 69.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/3.953, allocations: 0.7595 MB / 1.184 GB, free: 68.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/3.953, allocations: 34.44 kB / 1.184 GB, free: 68.56 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001268/3.954, allocations: 112.1 kB / 1.184 GB, free: 68.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 6.693e-06/3.954, allocations: 0 / 1.184 GB, free: 68.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.009823/3.964, allocations: 1.435 MB / 1.185 GB, free: 68.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/3.964, allocations: 186.4 kB / 1.186 GB, free: 68.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/3.966, allocations: 0.7556 MB / 1.186 GB, free: 67.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/3.967, allocations: 36.3 kB / 1.186 GB, free: 67.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/3.967, allocations: 0.6069 MB / 1.187 GB, free: 67.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/3.968, allocations: 174.8 kB / 1.187 GB, free: 67.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/3.968, allocations: 20.53 kB / 1.187 GB, free: 67.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/3.968, allocations: 343.8 kB / 1.188 GB, free: 67.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/3.969, allocations: 354.4 kB / 1.188 GB, free: 67.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/3.971, allocations: 0.699 MB / 1.189 GB, free: 66.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/3.973, allocations: 444.5 kB / 1.189 GB, free: 66.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/3.973, allocations: 3.25 kB / 1.189 GB, free: 66.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005114/3.978, allocations: 1.268 MB / 1.19 GB, free: 66.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001018/3.98, allocations: 4.182 MB / 1.194 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/3.98, allocations: 16.94 kB / 1.194 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009819/3.989, allocations: 0.7769 MB / 1.195 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/3.992, allocations: 292.5 kB / 1.195 GB, free: 62.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/3.993, allocations: 0.789 MB / 1.196 GB, free: 61.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/3.995, allocations: 92.38 kB / 1.196 GB, free: 61.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004277/3.996, allocations: 82.86 kB / 1.196 GB, free: 61.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/3.996, allocations: 3.875 kB / 1.196 GB, free: 61.73 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00456/4, allocations: 1.101 MB / 1.197 GB, free: 61.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/4, allocations: 10.84 kB / 1.197 GB, free: 61.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/4.001, allocations: 89.98 kB / 1.197 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/4.003, allocations: 298.4 kB / 1.198 GB, free: 61.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/4.007, allocations: 1.678 MB / 1.199 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/4.009, allocations: 86.14 kB / 1.199 GB, free: 60.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/4.009, allocations: 72.47 kB / 1.2 GB, free: 60.25 MB / 490.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.001244/4.011, allocations: 337.5 kB / 1.2 GB, free: 60.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/4.011, allocations: 110.5 kB / 1.2 GB, free: 59.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008569/4.02, allocations: 1.673 MB / 1.202 GB, free: 59.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/4.02, allocations: 10.48 kB / 1.202 GB, free: 59.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/4.02, allocations: 2.969 kB / 1.202 GB, free: 59.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/4.02, allocations: 0 / 1.202 GB, free: 59.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007469/4.027, allocations: 1.813 MB / 1.203 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/4.027, allocations: 3.844 kB / 1.203 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/4.029, allocations: 129.2 kB / 1.204 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006979/4.036, allocations: 0.5835 MB / 1.204 GB, free: 59.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/4.036, allocations: 22.91 kB / 1.204 GB, free: 59.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/4.038, allocations: 0.8131 MB / 1.205 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/4.038, allocations: 4.891 kB / 1.205 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004412/4.042, allocations: 1.065 MB / 1.206 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/4.043, allocations: 318.8 kB / 1.206 GB, free: 58.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/4.044, allocations: 14.61 kB / 1.206 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/4.046, allocations: 71.81 kB / 1.206 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/4.046, allocations: 58.89 kB / 1.206 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/4.047, allocations: 29.3 kB / 1.206 GB, free: 58.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001939/4.049, allocations: 0.59 MB / 1.207 GB, free: 58.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.082e-06/4.049, allocations: 0 / 1.207 GB, free: 58.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006612/4.055, allocations: 1.027 MB / 1.208 GB, free: 58.1 MB / 490.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.008916/4.064, allocations: 2.645 MB / 1.211 GB, free: 56.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007709/4.072, allocations: 1.579 MB / 1.212 GB, free: 56.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/4.072, allocations: 0 / 1.212 GB, free: 56.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/4.074, allocations: 398.7 kB / 1.212 GB, free: 56.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005043/4.079, allocations: 416.3 kB / 1.213 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/4.094, allocations: 10.59 MB / 1.223 GB, free: 47.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009394/4.095, allocations: 1.099 MB / 1.224 GB, free: 46.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003867/4.099, allocations: 0.7984 MB / 1.225 GB, free: 46.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/4.1, allocations: 438.7 kB / 1.225 GB, free: 46.72 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/4.1, allocations: 0 / 1.225 GB, free: 46.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/4.215, allocations: 34.44 MB / 1.259 GB, free: 25.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/4.216, allocations: 284.8 kB / 1.259 GB, free: 25.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/8.319, allocations: 4 kB / 1.259 GB, free: 25.04 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat