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.00173/0.00173, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.002486/0.002486, allocations: 212.9 kB / 24.51 MB, free: 3.938 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2213/0.2213, allocations: 46.96 MB / 361.7 MB, free: 4.043 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.001915/0.001915, allocations: 68.08 kB / 0.4969 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 66.04 MB / 0.5614 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003133/0.3341, allocations: 1.773 MB / 0.5631 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3363, allocations: 1.267 MB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3364, allocations: 4 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.3366, allocations: 43.75 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.3368, allocations: 51.62 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.3374, allocations: 247 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3375, allocations: 103.5 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3376, allocations: 9.25 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.3378, allocations: 63.64 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.3379, allocations: 47.78 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3379, allocations: 8 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.3384, allocations: 331.4 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.3385, allocations: 23.84 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.3385, allocations: 31.8 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.339, allocations: 309 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.339, allocations: 0 / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.339, allocations: 4 kB / 0.5656 GB, free: 72 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3391, allocations: 0 / 0.5656 GB, free: 72 kB / 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.0005983/0.3397, allocations: 377.4 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3397, allocations: 8.031 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.987e-05/0.3397, allocations: 8.188 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.3398, allocations: 42.73 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.3398, allocations: 12.89 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3399, allocations: 122.4 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.34, allocations: 16.12 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.34, allocations: 12 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3403, allocations: 137.6 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3403, allocations: 3.938 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3403, allocations: 8 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3403, allocations: 4 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.3407, allocations: 143.8 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.3415, allocations: 438.4 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.3418, allocations: 94.62 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3419, allocations: 48.77 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.342, allocations: 4 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.225e-05/0.342, allocations: 34.56 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3421, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004872/0.3425, allocations: 161.5 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3426, allocations: 55.41 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.3427, allocations: 114.1 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3427, allocations: 29.7 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.3428, allocations: 115.7 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.3428, allocations: 35.78 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.3429, allocations: 45.58 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.343, allocations: 326.7 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3432, allocations: 39.97 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3433, allocations: 77.12 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3436, allocations: 125.5 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3436, allocations: 4 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003422/0.344, allocations: 165.5 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.344, allocations: 8.031 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.344, allocations: 4 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.344, allocations: 3.984 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3442, allocations: 51.91 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004019/0.3446, allocations: 0.5899 MB / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3447, allocations: 11.98 kB / 0.5689 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3448, allocations: 8 kB / 0.5689 GB, free: 12.38 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.0001114/0.3449, allocations: 125.8 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.3449, allocations: 7.953 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.3453, allocations: 181.4 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3453, allocations: 3.938 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3453, allocations: 0 / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3454, allocations: 4 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3456, allocations: 176.7 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3456, allocations: 4 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3458, allocations: 39.97 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3458, allocations: 0 / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3458, allocations: 4 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000413/0.3463, allocations: 0.5898 MB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3463, allocations: 0 / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.3468, allocations: 303.4 kB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.3468, allocations: 11.97 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3469, allocations: 8 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.347, allocations: 7.984 kB / 0.5703 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.347, allocations: 11.98 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.347, allocations: 4 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.3471, allocations: 91.27 kB / 0.5704 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 0 / 0.5704 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000379/0.3475, allocations: 83.56 kB / 0.5705 GB, free: 10.65 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.001065/0.3485, allocations: 0.8957 MB / 0.5714 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.3489, allocations: 124.1 kB / 0.5715 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3489, allocations: 0 / 0.5715 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3491, allocations: 71.89 kB / 0.5716 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3495, allocations: 15.42 kB / 0.5716 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3517, allocations: 1.73 MB / 0.5733 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.449e-05/0.3518, allocations: 101 kB / 0.5734 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.177e-05/0.3519, allocations: 20.47 kB / 0.5734 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.352, allocations: 35.42 kB / 0.5734 GB, free: 7.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.352, allocations: 0 / 0.5734 GB, free: 7.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3771, allocations: 4.055 MB / 0.5774 GB, free: 3.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.16, allocations: 16.78 kB / 0.5774 GB, free: 3.633 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: 16.374756862060167]