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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008896/0.0008896, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8915/0.8915, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.219e-05, allocations: 6.281 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.1739/0.1739, allocations: 1.781 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.1748, allocations: 0.7671 MB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.1748, allocations: 0 / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.175, allocations: 43.81 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1752, allocations: 81 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1753, allocations: 73.47 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1754, allocations: 140 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.1755, allocations: 2.875 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1756, allocations: 87.61 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.1757, allocations: 83.95 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1757, allocations: 5.719 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.1758, allocations: 54.91 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1759, allocations: 40.2 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1759, allocations: 26.62 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.176, allocations: 138.7 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1761, allocations: 3.125 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1761, allocations: 0 / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1761, allocations: 0 / 445.5 MB, free: 42.99 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003655/0.1764, allocations: 336.9 kB / 445.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1765, allocations: 9.25 kB / 445.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.1765, allocations: 45.03 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.1767, allocations: 36.2 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.694e-05/0.1768, allocations: 129.3 kB / 446 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1768, allocations: 10.56 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1768, allocations: 7.094 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.177, allocations: 181.9 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.177, allocations: 7.219 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.177, allocations: 10.8 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.1771, allocations: 12.41 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1772, allocations: 133.4 kB / 446.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1777, allocations: 0.5408 MB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1779, allocations: 99.12 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.1779, allocations: 43.23 kB / 447.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.178, allocations: 3.938 kB / 447.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.466e-06/0.178, allocations: 33.53 kB / 447.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.178, allocations: 0 / 447.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002284/0.1782, allocations: 140.5 kB / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.1782, allocations: 53.94 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.513e-05/0.1783, allocations: 131.1 kB / 447.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.1783, allocations: 28.64 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.1783, allocations: 120.6 kB / 447.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.1783, allocations: 32.28 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1783, allocations: 31.28 kB / 447.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.327e-05/0.1784, allocations: 317.1 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.1784, allocations: 37.45 kB / 448 MB, free: 41.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.1785, allocations: 102.9 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1786, allocations: 139.1 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1786, allocations: 0 / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001599/0.1788, allocations: 173.6 kB / 448.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1788, allocations: 8.375 kB / 448.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1788, allocations: 2.719 kB / 448.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1788, allocations: 2.938 kB / 448.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.1789, allocations: 35.58 kB / 448.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1789, allocations: 2.906 kB / 448.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.1789, allocations: 20.3 kB / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.1789, allocations: 9.906 kB / 448.5 MB, free: 41 MB / 410.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.179, allocations: 130.4 kB / 448.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.179, allocations: 10.8 kB / 448.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1792, allocations: 126.5 kB / 448.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1792, allocations: 10.33 kB / 448.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1792, allocations: 0.5625 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1792, allocations: 0 / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1793, allocations: 166.2 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1793, allocations: 0 / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.1793, allocations: 33.55 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1793, allocations: 0 / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1793, allocations: 0.8438 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1793, allocations: 0 / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1793, allocations: 3.125 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1795, allocations: 199.4 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.1795, allocations: 14.89 kB / 449.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1795, allocations: 2.875 kB / 449.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.1795, allocations: 12.94 kB / 449.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1796, allocations: 13.88 kB / 449.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1796, allocations: 0 / 449.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.075e-05/0.1796, allocations: 101.1 kB / 449.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1796, allocations: 0 / 449.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.1798, allocations: 33.86 kB / 449.3 MB, free: 40.37 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002417/0.18, allocations: 0.7443 MB / 450.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1802, allocations: 98.7 kB / 450.2 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1802, allocations: 0 / 450.2 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.1802, allocations: 48.23 kB / 450.2 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.1804, allocations: 6.875 kB / 450.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.1813, allocations: 1.655 MB / 451.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.1814, allocations: 98.61 kB / 452 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1814, allocations: 32.67 kB / 452 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.1815, allocations: 28.39 kB / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1815, allocations: 0 / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.1953, allocations: 2.943 MB / 455 MB, free: 37.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/6.789, allocations: 11.84 kB / 455 MB, free: 37.2 MB / 410.7 MB " [Timeout remaining time 653] (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/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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.812328353524208]