Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001242/0.001242, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008869/0.0008871, allocations: 89.48 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1821/0.1821, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.492e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3864/0.4891, allocations: 93.15 MB / 0.6024 GB, free: 324 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4895, allocations: 98.48 kB / 0.6025 GB, free: 264 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.506, allocations: 6.101 MB / 0.6085 GB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5061, allocations: 4 kB / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.5061, allocations: 0 / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000558/0.5066, allocations: 495.5 kB / 0.609 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5067, allocations: 15.97 kB / 0.609 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.5068, allocations: 59.48 kB / 0.609 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.508, allocations: 202.1 kB / 0.6092 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.5084, allocations: 265.2 kB / 0.6095 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/0.5085, allocations: 38.77 kB / 0.6095 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.5086, allocations: 23.31 kB / 0.6095 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.5092, allocations: 441.8 kB / 0.61 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5093, allocations: 0 / 0.61 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.5093, allocations: 11.05 kB / 0.61 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.5093, allocations: 24.55 kB / 0.61 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.5101, allocations: 0.5064 MB / 0.6105 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.5122, allocations: 1.178 MB / 0.6116 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.5125, allocations: 107.8 kB / 0.6118 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5126, allocations: 54.88 kB / 0.6118 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.5126, allocations: 0 / 0.6118 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5127, allocations: 38.12 kB / 0.6118 GB, free: 7.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.5127, allocations: 0 / 0.6118 GB, free: 7.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004176/0.5131, allocations: 152.2 kB / 0.612 GB, free: 7.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.5132, allocations: 51.41 kB / 0.612 GB, free: 7.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.5134, allocations: 253.6 kB / 0.6123 GB, free: 7.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5135, allocations: 25.7 kB / 0.6123 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5136, allocations: 172.4 kB / 0.6125 GB, free: 7.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.5136, allocations: 27.52 kB / 0.6125 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.5136, allocations: 7.438 kB / 0.6125 GB, free: 7.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5138, allocations: 334.2 kB / 0.6128 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.514, allocations: 53.98 kB / 0.6129 GB, free: 6.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.5141, allocations: 82.02 kB / 0.6129 GB, free: 6.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5143, allocations: 65.7 kB / 0.613 GB, free: 6.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5143, allocations: 0 / 0.613 GB, free: 6.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000371/0.5146, allocations: 189.4 kB / 0.6132 GB, free: 6.473 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5147, allocations: 4 kB / 0.6132 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5147, allocations: 0 / 0.6132 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5147, allocations: 4 kB / 0.6132 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004848/0.5196, allocations: 451.2 kB / 0.6136 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.5221, allocations: 1.91 MB / 0.6155 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.5226, allocations: 51.83 kB / 0.6155 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5227, allocations: 11.92 kB / 0.6156 GB, free: 4.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001162/0.5228, allocations: 111 kB / 0.6157 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.5228, allocations: 19.75 kB / 0.6157 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.5229, allocations: 25.33 kB / 0.6157 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5229, allocations: 0 / 0.6157 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5229, allocations: 0 / 0.6157 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5229, allocations: 4 kB / 0.6157 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.5233, allocations: 300.4 kB / 0.616 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5233, allocations: 0 / 0.616 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004769/0.5281, allocations: 437.9 kB / 0.6164 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5281, allocations: 0 / 0.6164 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.5282, allocations: 7.984 kB / 0.6164 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.5307, allocations: 1.909 MB / 0.6183 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5307, allocations: 96 / 0.6183 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.5311, allocations: 264.3 kB / 0.6185 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.5312, allocations: 88.92 kB / 0.6186 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5312, allocations: 0 / 0.6186 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.5316, allocations: 23.03 kB / 0.6186 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.5317, allocations: 11.98 kB / 0.6187 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.5317, allocations: 7.984 kB / 0.6187 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.5319, allocations: 203.1 kB / 0.6189 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5319, allocations: 7.938 kB / 0.6189 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.5323, allocations: 74.72 kB / 0.6189 GB, free: 0.5273 MB / 410.7 MB 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 (7): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.000747/0.533, allocations: 0.829 MB / 0.6197 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004638/0.5377, allocations: 463.8 kB / 0.6202 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5377, allocations: 0 / 0.6202 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004373/0.5421, allocations: 386 kB / 0.6206 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.5425, allocations: 44.16 kB / 0.6206 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5435, allocations: 376.4 kB / 0.621 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5439, allocations: 0.7807 MB / 0.6217 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.5441, allocations: 58.16 kB / 0.6218 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5443, allocations: 60.23 kB / 0.6218 GB, free: 13.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.605e-06/0.5443, allocations: 0 / 0.6218 GB, free: 13.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.5679, allocations: 8.016 MB / 0.6297 GB, free: 5.844 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.5683, allocations: 240.6 kB / 0.6299 GB, free: 5.531 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.497, allocations: 0 / 0.6299 GB, free: 5.531 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat