Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 103.1 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 45.15 MB / 383.7 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.677e-05, allocations: 11.98 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 63.24 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.6049, allocations: 94.45 MB / 0.5967 GB, free: 8.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6052, allocations: 98 kB / 0.5968 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.6285, allocations: 7.863 MB / 0.6045 GB, free: 1.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6285, allocations: 0 / 0.6045 GB, free: 1.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.6286, allocations: 8 kB / 0.6045 GB, free: 1.297 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006653/0.6292, allocations: 433.8 kB / 0.6049 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.6293, allocations: 8.031 kB / 0.6049 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.6294, allocations: 15.89 kB / 0.6049 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.6295, allocations: 185.9 kB / 0.6051 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.6296, allocations: 4 kB / 0.6051 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.6296, allocations: 4 kB / 0.6051 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002194/0.6298, allocations: 107.6 kB / 0.6052 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.63, allocations: 105.8 kB / 0.6053 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6301, allocations: 0 / 0.6053 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6301, allocations: 0 / 0.6053 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.6301, allocations: 7.984 kB / 0.6053 GB, free: 428 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009478/0.631, allocations: 0.4991 MB / 0.6058 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.6312, allocations: 80.92 kB / 0.6059 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.6313, allocations: 37.48 kB / 0.6059 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.6313, allocations: 0 / 0.6059 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.6314, allocations: 38.56 kB / 0.606 GB, free: 15.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.6314, allocations: 0 / 0.606 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002635/0.6317, allocations: 89.11 kB / 0.606 GB, free: 15.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6317, allocations: 55.41 kB / 0.6061 GB, free: 15.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.6318, allocations: 111.1 kB / 0.6062 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.6318, allocations: 25.92 kB / 0.6062 GB, free: 15.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.6319, allocations: 107 kB / 0.6063 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.632, allocations: 46.33 kB / 0.6064 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-06/0.632, allocations: 0 / 0.6064 GB, free: 15.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6321, allocations: 318.8 kB / 0.6067 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.6322, allocations: 25.69 kB / 0.6067 GB, free: 15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.6322, allocations: 55.34 kB / 0.6068 GB, free: 14.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.6323, allocations: 37.97 kB / 0.6068 GB, free: 14.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6323, allocations: 7.891 kB / 0.6068 GB, free: 14.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002143/0.6326, allocations: 113.8 kB / 0.6069 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6326, allocations: 4 kB / 0.6069 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6326, allocations: 4 kB / 0.6069 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6326, allocations: 4 kB / 0.6069 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.6329, allocations: 51.89 kB / 0.607 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003838/0.6333, allocations: 0.593 MB / 0.6075 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.6334, allocations: 24.23 kB / 0.6076 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6334, allocations: 7.953 kB / 0.6076 GB, free: 14.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.6335, allocations: 107.7 kB / 0.6077 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001603/0.6337, allocations: 96.55 kB / 0.6078 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.6337, allocations: 11.84 kB / 0.6078 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.634, allocations: 133.1 kB / 0.6079 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.634, allocations: 4 kB / 0.6079 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.634, allocations: 7.953 kB / 0.6079 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6341, allocations: 3.938 kB / 0.6079 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.6343, allocations: 187.1 kB / 0.6081 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6343, allocations: 0 / 0.6081 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.6345, allocations: 39.97 kB / 0.6081 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6345, allocations: 0 / 0.6081 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6346, allocations: 0 / 0.6081 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000321/0.6349, allocations: 0.5893 MB / 0.6087 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6349, allocations: 7.922 kB / 0.6087 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.6352, allocations: 240.1 kB / 0.609 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.6353, allocations: 104.6 kB / 0.6091 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.6353, allocations: 0 / 0.6091 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6354, allocations: 15.94 kB / 0.6091 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.6355, allocations: 16.12 kB / 0.6091 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6355, allocations: 7.562 kB / 0.6091 GB, free: 12.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.6355, allocations: 86.84 kB / 0.6092 GB, free: 12.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6355, allocations: 0 / 0.6092 GB, free: 12.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.636, allocations: 87.02 kB / 0.6093 GB, free: 12.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00089/0.6369, allocations: 0.8852 MB / 0.6101 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.6371, allocations: 95.28 kB / 0.6102 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6371, allocations: 320 / 0.6102 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6373, allocations: 54.05 kB / 0.6103 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.6375, allocations: 11.86 kB / 0.6103 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.6382, allocations: 255.3 kB / 0.6105 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.6385, allocations: 0.708 MB / 0.6112 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.6386, allocations: 16.55 kB / 0.6112 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.6386, allocations: 30.3 kB / 0.6113 GB, free: 10.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6386, allocations: 4 kB / 0.6113 GB, free: 10.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.6639, allocations: 3.193 MB / 0.6144 GB, free: 7.172 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.6642, allocations: 191.2 kB / 0.6146 GB, free: 6.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.298, allocations: 0 / 0.6146 GB, free: 6.98 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat