Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.91 MB / 358.8 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003376/0.003376, allocations: 63.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3666, allocations: 65.47 MB / 0.5571 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003326/0.3699, allocations: 1.839 MB / 0.5588 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3723, allocations: 1.415 MB / 0.5602 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.3723, allocations: 0 / 0.5602 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3726, allocations: 43.77 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.3727, allocations: 51.62 kB / 0.5603 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.3733, allocations: 251 kB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3735, allocations: 107.4 kB / 0.5607 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3735, allocations: 9.297 kB / 0.5607 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3737, allocations: 55.67 kB / 0.5607 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3738, allocations: 55.75 kB / 0.5608 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3739, allocations: 4 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.3746, allocations: 0.5068 MB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.3747, allocations: 15.91 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.3747, allocations: 51.67 kB / 0.5613 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.3753, allocations: 356.6 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3753, allocations: 0 / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3753, allocations: 0 / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3753, allocations: 0 / 0.5617 GB, free: 2.906 MB / 398.1 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.000563/0.3758, allocations: 385.3 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3759, allocations: 8.031 kB / 0.5621 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.3759, allocations: 42.73 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.376, allocations: 16.89 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3761, allocations: 130.3 kB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3761, allocations: 8.375 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3761, allocations: 15.94 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3764, allocations: 137.6 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3765, allocations: 0 / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3765, allocations: 8 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3765, allocations: 0 / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.3768, allocations: 147.9 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008914/0.3777, allocations: 0.49 MB / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3779, allocations: 90.64 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3781, allocations: 52.83 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3781, allocations: 0 / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3781, allocations: 30.56 kB / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.3781, allocations: 0 / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005035/0.3786, allocations: 165.4 kB / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3787, allocations: 55.41 kB / 0.5634 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.3788, allocations: 117.8 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3788, allocations: 25.7 kB / 0.5635 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.3789, allocations: 119.6 kB / 0.5636 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.3789, allocations: 39.64 kB / 0.5637 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.379, allocations: 33.7 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3791, allocations: 323.1 kB / 0.564 GB, free: 304 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3792, allocations: 43.97 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3794, allocations: 73.12 kB / 0.5641 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.3796, allocations: 133 kB / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3796, allocations: 7.875 kB / 0.5643 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003626/0.38, allocations: 153.6 kB / 0.5644 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.38, allocations: 8 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.38, allocations: 4 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.38, allocations: 0 / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3802, allocations: 47.97 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004132/0.3807, allocations: 0.5975 MB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3808, allocations: 15.97 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3808, allocations: 12.08 kB / 0.5651 GB, free: 15.14 MB / 414.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.3809, allocations: 121.8 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3809, allocations: 7.953 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.3813, allocations: 165.9 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3813, allocations: 7.938 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3813, allocations: 3.938 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3813, allocations: 3.984 kB / 0.5654 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3816, allocations: 184.7 kB / 0.5656 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3816, allocations: 0 / 0.5656 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.3818, allocations: 39.92 kB / 0.5656 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3818, allocations: 7.922 kB / 0.5656 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3818, allocations: 8 kB / 0.5656 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/0.3822, allocations: 0.5899 MB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3822, allocations: 0 / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.3827, allocations: 291.3 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3827, allocations: 20.06 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3828, allocations: 8 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3829, allocations: 11.98 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.3829, allocations: 11.98 kB / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3829, allocations: 4 kB / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.383, allocations: 91.27 kB / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.3834, allocations: 83.62 kB / 0.5667 GB, free: 13.41 MB / 414.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.3845, allocations: 0.9109 MB / 0.5676 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.3849, allocations: 120.4 kB / 0.5677 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3849, allocations: 0 / 0.5677 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3851, allocations: 68.22 kB / 0.5678 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3854, allocations: 12.27 kB / 0.5678 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.3877, allocations: 1.73 MB / 0.5695 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.388, allocations: 0.7117 MB / 0.5702 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.3881, allocations: 16.48 kB / 0.5702 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.3882, allocations: 39.42 kB / 0.5702 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3882, allocations: 0 / 0.5702 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.4212, allocations: 3.978 MB / 0.5741 GB, free: 5.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.05, allocations: 8.062 kB / 0.5741 GB, free: 5.828 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.170515780104324]