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.001133/0.001133, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009025/0.0009025, allocations: 105.1 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3855/0.3855, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002446, allocations: 8.219 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3545, allocations: 63.25 MB / 0.5193 GB, free: 43.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4946, allocations: 95.19 MB / 0.6122 GB, free: 10.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004246/0.4951, allocations: 107.8 kB / 0.6124 GB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02591/0.5211, allocations: 7.93 MB / 0.6201 GB, free: 2.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5211, allocations: 0 / 0.6201 GB, free: 2.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.5211, allocations: 0 / 0.6201 GB, free: 2.41 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007252/0.5219, allocations: 450.9 kB / 0.6205 GB, free: 1.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.5219, allocations: 8.031 kB / 0.6205 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.638e-05/0.522, allocations: 46.55 kB / 0.6206 GB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.5221, allocations: 15.81 kB / 0.6206 GB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.5223, allocations: 182.8 kB / 0.6208 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5223, allocations: 14.44 kB / 0.6208 GB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.5223, allocations: 12 kB / 0.6208 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.5227, allocations: 149.5 kB / 0.6209 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5227, allocations: 0 / 0.6209 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5227, allocations: 0 / 0.6209 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5228, allocations: 4 kB / 0.6209 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.5231, allocations: 148.4 kB / 0.6211 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/0.5241, allocations: 0.5239 MB / 0.6216 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.5244, allocations: 106.6 kB / 0.6217 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.5244, allocations: 0 / 0.6217 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5245, allocations: 42.55 kB / 0.6217 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 3.416e-06/0.5245, allocations: 3.984 kB / 0.6217 GB, free: 0.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005119/0.525, allocations: 174.4 kB / 0.6219 GB, free: 376 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.5251, allocations: 55.41 kB / 0.622 GB, free: 308 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.5252, allocations: 105.2 kB / 0.6221 GB, free: 192 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.5252, allocations: 29.7 kB / 0.6221 GB, free: 156 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.5253, allocations: 115.7 kB / 0.6222 GB, free: 36 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.5254, allocations: 39.61 kB / 0.6222 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.5254, allocations: 3.938 kB / 0.6222 GB, free: 15.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5255, allocations: 326.8 kB / 0.6225 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.5256, allocations: 47.91 kB / 0.6226 GB, free: 15.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.5258, allocations: 81.12 kB / 0.6227 GB, free: 15.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5259, allocations: 51.97 kB / 0.6227 GB, free: 15.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.526, allocations: 0 / 0.6227 GB, free: 15.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003551/0.5263, allocations: 167 kB / 0.6229 GB, free: 15.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5264, allocations: 8 kB / 0.6229 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5264, allocations: 0 / 0.6229 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5264, allocations: 4 kB / 0.6229 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.5266, allocations: 56.06 kB / 0.6229 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004282/0.5271, allocations: 0.5935 MB / 0.6235 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5272, allocations: 12.03 kB / 0.6235 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5272, allocations: 11.98 kB / 0.6235 GB, free: 14.59 MB / 442.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 () * Number of clocked 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 0.0001429/0.5274, allocations: 122.1 kB / 0.6237 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.5274, allocations: 12 kB / 0.6237 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.5279, allocations: 179.1 kB / 0.6238 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5279, allocations: 4 kB / 0.6239 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.528, allocations: 3.938 kB / 0.6239 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.528, allocations: 3.953 kB / 0.6239 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.5283, allocations: 209.6 kB / 0.6241 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5283, allocations: 0 / 0.6241 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.5285, allocations: 43.91 kB / 0.6241 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5285, allocations: 4 kB / 0.6241 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5285, allocations: 11.98 kB / 0.6241 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003511/0.5289, allocations: 0.5821 MB / 0.6247 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5289, allocations: 0 / 0.6247 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.5295, allocations: 312.5 kB / 0.625 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.5296, allocations: 92.97 kB / 0.6251 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.5296, allocations: 11.98 kB / 0.6251 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5297, allocations: 15.95 kB / 0.6251 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.5298, allocations: 11.98 kB / 0.6251 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.5298, allocations: 7.984 kB / 0.6251 GB, free: 12.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.5299, allocations: 87.28 kB / 0.6252 GB, free: 12.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5299, allocations: 0 / 0.6252 GB, free: 12.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.5303, allocations: 95.77 kB / 0.6253 GB, free: 12.69 MB / 442.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 () * Number of clocked 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.001539/0.5319, allocations: 0.9447 MB / 0.6262 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.5324, allocations: 134.7 kB / 0.6263 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5324, allocations: 0 / 0.6263 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.5327, allocations: 80.16 kB / 0.6264 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.533, allocations: 15.89 kB / 0.6264 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.5355, allocations: 1.577 MB / 0.628 GB, free: 9.855 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.536, allocations: 0.7121 MB / 0.6287 GB, free: 9.117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.5361, allocations: 16.55 kB / 0.6287 GB, free: 9.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.5362, allocations: 39.42 kB / 0.6287 GB, free: 9.062 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5362, allocations: 0 / 0.6287 GB, free: 9.062 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.557, allocations: 3.819 MB / 0.6325 GB, free: 5.512 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.5573, allocations: 259.1 kB / 0.6327 GB, free: 5.168 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.35, allocations: 0 / 0.6327 GB, free: 5.168 MB / 442.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