Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001614/0.001614, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002036/0.002036, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 46.94 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.89 kB / 0.497 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3477, allocations: 66.03 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003248/0.351, allocations: 1.834 MB / 0.5632 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3534, allocations: 1.415 MB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.3534, allocations: 0 / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.3537, allocations: 47.75 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.3539, allocations: 51.62 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.3544, allocations: 251 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3546, allocations: 103.4 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.3546, allocations: 13.25 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3548, allocations: 63.66 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.3549, allocations: 47.77 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.355, allocations: 4 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007801/0.3557, allocations: 0.5069 MB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.3558, allocations: 15.91 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.3558, allocations: 47.67 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.3564, allocations: 364.7 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3564, allocations: 0 / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3564, allocations: 4 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3564, allocations: 0 / 0.5661 GB, free: 15.71 MB / 414.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.0006065/0.357, allocations: 377.3 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.357, allocations: 12.03 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.444e-05/0.3571, allocations: 4.188 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.3571, allocations: 38.75 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.3571, allocations: 12.89 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3573, allocations: 130.3 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3573, allocations: 20.12 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.3573, allocations: 12 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.3576, allocations: 137.6 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3577, allocations: 0 / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3577, allocations: 4 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3577, allocations: 4 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.358, allocations: 135.9 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.359, allocations: 0.494 MB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.3592, allocations: 90.59 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3594, allocations: 52.83 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3594, allocations: 3.984 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3594, allocations: 34.56 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3594, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005249/0.36, allocations: 165.4 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.36, allocations: 51.41 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3601, allocations: 118.1 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3601, allocations: 25.7 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3603, allocations: 115.7 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.3603, allocations: 47.72 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.3604, allocations: 33.64 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3605, allocations: 322.8 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3607, allocations: 35.97 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.3608, allocations: 85.11 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3611, allocations: 128.9 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3611, allocations: 0 / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003569/0.3615, allocations: 157.5 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3615, allocations: 8 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3615, allocations: 4.156 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3615, allocations: 4 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3617, allocations: 47.97 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004516/0.3622, allocations: 0.5937 MB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3623, allocations: 15.92 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3623, allocations: 8 kB / 0.5695 GB, free: 11.96 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.0001225/0.3624, allocations: 125.9 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3625, allocations: 7.953 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.3629, allocations: 177.8 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.363, allocations: 7.938 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.363, allocations: 0 / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.363, allocations: 0 / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.3632, allocations: 184.7 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3632, allocations: 0 / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3634, allocations: 43.84 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3634, allocations: 0 / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3635, allocations: 8 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000419/0.3639, allocations: 0.5899 MB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3639, allocations: 0 / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.3644, allocations: 294.9 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.3644, allocations: 19.88 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3645, allocations: 3.984 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3646, allocations: 12.16 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3646, allocations: 15.97 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3646, allocations: 4 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.3647, allocations: 87.28 kB / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3647, allocations: 0 / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.3651, allocations: 87.62 kB / 0.5711 GB, free: 10.22 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.001133/0.3662, allocations: 0.8995 MB / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.3667, allocations: 120.1 kB / 0.5721 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3667, allocations: 0 / 0.5721 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3669, allocations: 71.89 kB / 0.5721 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3672, allocations: 10.91 kB / 0.5722 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.3697, allocations: 1.733 MB / 0.5738 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.37, allocations: 0.7156 MB / 0.5745 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.746e-05/0.3701, allocations: 16.48 kB / 0.5746 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.3702, allocations: 35.42 kB / 0.5746 GB, free: 6.465 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3702, allocations: 0 / 0.5746 GB, free: 6.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.397, allocations: 4.011 MB / 0.5785 GB, free: 2.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.77, allocations: 11.81 kB / 0.5785 GB, free: 2.625 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.9354674500064]