Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001493/0.001493, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 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.001791/0.001791, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 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 1.534/1.534, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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.2422/0.2422, allocations: 46.89 MB / 357.4 MB, free: 10.59 MB / 286.1 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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.88 kB / 0.4913 GB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1428, allocations: 65.99 MB / 0.5557 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003288/0.1461, allocations: 1.843 MB / 0.5575 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.1506, allocations: 2.963 MB / 0.5604 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.1507, allocations: 0 / 0.5604 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.1509, allocations: 55.67 kB / 0.5605 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1511, allocations: 79.58 kB / 0.5605 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.1527, allocations: 0.7422 MB / 0.5613 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.153, allocations: 238.8 kB / 0.5615 GB, free: 448 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.153, allocations: 20.41 kB / 0.5615 GB, free: 428 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1532, allocations: 111.4 kB / 0.5616 GB, free: 316 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1534, allocations: 119.4 kB / 0.5617 GB, free: 196 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1534, allocations: 8 kB / 0.5617 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.1553, allocations: 1.232 MB / 0.5629 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.1554, allocations: 75.61 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1555, allocations: 115.2 kB / 0.5631 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1568, allocations: 0.9344 MB / 0.564 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1568, allocations: 0 / 0.564 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1568, allocations: 0 / 0.564 GB, free: 13.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1568, allocations: 0 / 0.564 GB, free: 13.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009958/0.1578, allocations: 0.6886 MB / 0.5647 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1578, allocations: 8.031 kB / 0.5647 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.782e-05/0.1579, allocations: 78.7 kB / 0.5648 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.158, allocations: 36.69 kB / 0.5648 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.1583, allocations: 239.1 kB / 0.5651 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1583, allocations: 24.55 kB / 0.5651 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.1584, allocations: 24 kB / 0.5651 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.1591, allocations: 467.3 kB / 0.5655 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1591, allocations: 0 / 0.5655 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1591, allocations: 15.97 kB / 0.5656 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/0.1592, allocations: 44.97 kB / 0.5656 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.16, allocations: 0.5504 MB / 0.5661 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.162, allocations: 1.315 MB / 0.5674 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.1625, allocations: 250.5 kB / 0.5677 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1627, allocations: 96.72 kB / 0.5678 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1627, allocations: 7.938 kB / 0.5678 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1627, allocations: 42.56 kB / 0.5678 GB, free: 9.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.1627, allocations: 0 / 0.5678 GB, free: 9.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007325/0.1635, allocations: 329.9 kB / 0.5681 GB, free: 9.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1635, allocations: 59.41 kB / 0.5682 GB, free: 9.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1636, allocations: 143.2 kB / 0.5683 GB, free: 9.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1637, allocations: 29.7 kB / 0.5683 GB, free: 9.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1638, allocations: 204.2 kB / 0.5685 GB, free: 8.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.1639, allocations: 91.59 kB / 0.5686 GB, free: 8.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.164, allocations: 65.7 kB / 0.5687 GB, free: 8.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1641, allocations: 322.8 kB / 0.569 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1643, allocations: 87.92 kB / 0.5691 GB, free: 8.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.1646, allocations: 186 kB / 0.5693 GB, free: 8.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1651, allocations: 290.8 kB / 0.5695 GB, free: 7.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1651, allocations: 0 / 0.5695 GB, free: 7.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006041/0.1657, allocations: 325.1 kB / 0.5698 GB, free: 7.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1657, allocations: 8.328 kB / 0.5699 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1657, allocations: 8 kB / 0.5699 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1657, allocations: 4 kB / 0.5699 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.1662, allocations: 119.9 kB / 0.57 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1677, allocations: 2.36 MB / 0.5723 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1678, allocations: 35.7 kB / 0.5723 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.1679, allocations: 16 kB / 0.5723 GB, free: 4.852 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.168, allocations: 178 kB / 0.5725 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.1681, allocations: 15.91 kB / 0.5725 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.1689, allocations: 370.1 kB / 0.5729 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1689, allocations: 0 / 0.5729 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1689, allocations: 3.984 kB / 0.5729 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1689, allocations: 11.92 kB / 0.5729 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1693, allocations: 341.3 kB / 0.5732 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1693, allocations: 4 kB / 0.5732 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.1697, allocations: 111.9 kB / 0.5733 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1697, allocations: 4 kB / 0.5733 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1698, allocations: 8 kB / 0.5733 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.1711, allocations: 2.356 MB / 0.5756 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1711, allocations: 0 / 0.5756 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.1717, allocations: 375.4 kB / 0.576 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1718, allocations: 92.95 kB / 0.5761 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1718, allocations: 8 kB / 0.5761 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1719, allocations: 11.98 kB / 0.5761 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.172, allocations: 19.97 kB / 0.5761 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.172, allocations: 12 kB / 0.5761 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.518e-05/0.1721, allocations: 101.1 kB / 0.5762 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1721, allocations: 0 / 0.5762 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006882/0.1728, allocations: 254.7 kB / 0.5765 GB, free: 432 kB / 430.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/0.1742, allocations: 1.168 MB / 0.5776 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.1749, allocations: 287.6 kB / 0.5779 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1749, allocations: 4 kB / 0.5779 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.1753, allocations: 164.5 kB / 0.578 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1757, allocations: 16 kB / 0.5781 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.1789, allocations: 2.588 MB / 0.5806 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.1793, allocations: 0.8063 MB / 0.5814 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.1795, allocations: 101.7 kB / 0.5815 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1797, allocations: 91.39 kB / 0.5816 GB, free: 11.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1797, allocations: 0 / 0.5816 GB, free: 11.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.2131, allocations: 8.953 MB / 0.5903 GB, free: 2.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.38, allocations: 11.3 kB / 0.5903 GB, free: 2.25 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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: 16.18985874624923]