Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009093/0.0009098, allocations: 97.66 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001125, allocations: 193 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005099, allocations: 15.92 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1646, allocations: 63.45 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002326/0.167, allocations: 1.49 MB / 483.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1685, allocations: 0.7563 MB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1686, allocations: 11.94 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1689, allocations: 27.83 kB / 483.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.1692, allocations: 71.66 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1695, allocations: 47.81 kB / 484.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1698, allocations: 171.3 kB / 484.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.264e-05/0.1699, allocations: 8 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1701, allocations: 67.77 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1703, allocations: 67.78 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1703, allocations: 7.938 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1705, allocations: 71.89 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.1706, allocations: 27.89 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.1707, allocations: 37.7 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1709, allocations: 92.02 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1709, allocations: 3.938 kB / 484.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1709, allocations: 4 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1709, allocations: 0 / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006148/0.1716, allocations: 401.7 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1716, allocations: 8.031 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.1717, allocations: 50.55 kB / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.172, allocations: 27.88 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1723, allocations: 198.9 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1723, allocations: 7.938 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1723, allocations: 12 kB / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.1727, allocations: 172.1 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1727, allocations: 4 kB / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1728, allocations: 8 kB / 485.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.1728, allocations: 11.98 kB / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1731, allocations: 151.7 kB / 485.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.1741, allocations: 0.6406 MB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.1744, allocations: 122.6 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1746, allocations: 44.83 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1746, allocations: 0 / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1746, allocations: 34.56 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1746, allocations: 0 / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004598/0.1751, allocations: 153.5 kB / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1752, allocations: 51.41 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1753, allocations: 126.1 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1753, allocations: 25.7 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.1754, allocations: 123.8 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1755, allocations: 31.72 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.1755, allocations: 8 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1756, allocations: 314.8 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1758, allocations: 55.89 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1759, allocations: 98.22 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1761, allocations: 55.91 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1761, allocations: 4 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003752/0.1765, allocations: 173.6 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1765, allocations: 10.44 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1765, allocations: 4 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1766, allocations: 0 / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1767, allocations: 47.97 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1768, allocations: 0 / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1769, allocations: 23.83 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1769, allocations: 4 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.1771, allocations: 137.7 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1771, allocations: 4 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.1775, allocations: 133.9 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1775, allocations: 4 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1775, allocations: 0 / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1775, allocations: 4 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.1779, allocations: 197.5 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1779, allocations: 4 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.178, allocations: 31.97 kB / 488.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.178, allocations: 4 kB / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.178, allocations: 0 / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1781, allocations: 4 kB / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1781, allocations: 0 / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.1785, allocations: 215.4 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.1786, allocations: 92.94 kB / 488.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1786, allocations: 4 kB / 488.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1787, allocations: 7.984 kB / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.646e-05/0.1788, allocations: 11.98 kB / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1788, allocations: 0 / 488.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.671e-05/0.1789, allocations: 95.27 kB / 488.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1789, allocations: 0 / 488.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1792, allocations: 27.91 kB / 488.7 MB, free: 13.75 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000844/0.1801, allocations: 0.7558 MB / 489.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.1804, allocations: 107.8 kB / 489.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1805, allocations: 0.5 kB / 489.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1806, allocations: 55.84 kB / 489.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1809, allocations: 11.94 kB / 489.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1826, allocations: 0.7594 MB / 490.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.183, allocations: 0.7082 MB / 491.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1832, allocations: 28.53 kB / 491.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.1833, allocations: 31.42 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1833, allocations: 0 / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1982, allocations: 1.988 MB / 493.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1984, allocations: 245.4 kB / 493.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.19, allocations: 0 / 493.4 MB, free: 9.148 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat