Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 103.1 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.892e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.184, allocations: 340.1 MB / 0.8366 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.185, allocations: 94.36 kB / 0.8367 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.719/2.904, allocations: 460.3 MB / 1.286 GB, free: 61.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/2.904, allocations: 0 / 1.286 GB, free: 61.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000208/2.904, allocations: 41.34 kB / 1.286 GB, free: 61.78 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006361/2.91, allocations: 1.94 MB / 1.288 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/2.91, allocations: 7.438 kB / 1.288 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/2.912, allocations: 242.1 kB / 1.288 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/2.915, allocations: 1.089 MB / 1.289 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.009e-05/2.915, allocations: 42.34 kB / 1.289 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/2.915, allocations: 76.94 kB / 1.29 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002584/2.918, allocations: 1.383 MB / 1.291 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/2.921, allocations: 1.62 MB / 1.292 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/2.921, allocations: 7.844 kB / 1.292 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/2.921, allocations: 7.781 kB / 1.292 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/2.921, allocations: 38.98 kB / 1.293 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/2.931, allocations: 10.43 MB / 1.303 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/2.932, allocations: 0.6111 MB / 1.303 GB, free: 47.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/2.932, allocations: 363.4 kB / 1.304 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004417/2.937, allocations: 4.285 MB / 1.308 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/2.937, allocations: 50.47 kB / 1.308 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.455e-06/2.937, allocations: 0 / 1.308 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005051/2.942, allocations: 1.218 MB / 1.309 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.942, allocations: 364.2 kB / 1.309 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/2.943, allocations: 1.026 MB / 1.31 GB, free: 41.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/2.944, allocations: 29.7 kB / 1.31 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005543/2.944, allocations: 0.9044 MB / 1.311 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/2.944, allocations: 193.4 kB / 1.312 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/2.944, allocations: 0 / 1.312 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/2.945, allocations: 361.9 kB / 1.312 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/2.945, allocations: 339.9 kB / 1.312 GB, free: 39.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/2.946, allocations: 0.9395 MB / 1.313 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/2.95, allocations: 1.068 MB / 1.314 GB, free: 37.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/2.95, allocations: 4 kB / 1.314 GB, free: 37.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006387/2.957, allocations: 1.881 MB / 1.316 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/2.957, allocations: 13.09 kB / 1.316 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/2.957, allocations: 16 kB / 1.316 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.653e-05/2.957, allocations: 28 kB / 1.316 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/2.959, allocations: 0.5038 MB / 1.317 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/2.961, allocations: 1.906 MB / 1.318 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/2.962, allocations: 198.4 kB / 1.319 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/2.963, allocations: 95.95 kB / 1.319 GB, free: 32.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/2.963, allocations: 156.4 kB / 1.319 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004653/2.968, allocations: 1.204 MB / 1.32 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/2.968, allocations: 138.4 kB / 1.32 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/2.972, allocations: 1.701 MB / 1.322 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/2.972, allocations: 8 kB / 1.322 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/2.972, allocations: 7.938 kB / 1.322 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/2.972, allocations: 7.984 kB / 1.322 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/2.974, allocations: 1.027 MB / 1.323 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/2.974, allocations: 0 / 1.323 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008696/2.974, allocations: 227.7 kB / 1.323 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/2.975, allocations: 75.28 kB / 1.323 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/2.975, allocations: 27.97 kB / 1.323 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/2.976, allocations: 1.806 MB / 1.325 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/2.976, allocations: 0 / 1.325 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/2.979, allocations: 1.28 MB / 1.326 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/2.979, allocations: 290.2 kB / 1.326 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/2.98, allocations: 0 / 1.326 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/2.981, allocations: 51.94 kB / 1.326 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/2.981, allocations: 60.69 kB / 1.327 GB, free: 24.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/2.981, allocations: 67.92 kB / 1.327 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009057/2.982, allocations: 0.7446 MB / 1.327 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/2.982, allocations: 4 kB / 1.327 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002928/2.985, allocations: 0.9164 MB / 1.328 GB, free: 22.55 MB / 0.5261 GB 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 (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005057/2.99, allocations: 3.017 MB / 1.331 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003185/2.993, allocations: 1.14 MB / 1.332 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/2.993, allocations: 4.781 kB / 1.332 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/2.994, allocations: 0.5037 MB / 1.333 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/2.997, allocations: 0.5944 MB / 1.333 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/3.004, allocations: 2.241 MB / 1.336 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/3.004, allocations: 1.282 MB / 1.337 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001807/3.006, allocations: 424 kB / 1.337 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007385/3.007, allocations: 0.6242 MB / 1.338 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/3.007, allocations: 0 / 1.338 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/3.485, allocations: 48.71 MB / 1.385 GB, free: 76.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/3.485, allocations: 197.1 kB / 1.386 GB, free: 76.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/7.266, allocations: 0 / 1.386 GB, free: 76.02 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat