Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.001466/0.001466, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001604/0.001604, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.356/1.356, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2088/0.2088, allocations: 46.93 MB / 361.5 MB, free: 4.184 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 75.88 kB / 0.4975 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2867, allocations: 66.06 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.0033/0.29, allocations: 1.843 MB / 0.5638 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.2923, allocations: 1.415 MB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.2924, allocations: 4 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.2927, allocations: 43.77 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2929, allocations: 51.61 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.2935, allocations: 247.1 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.2937, allocations: 111.4 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.2937, allocations: 5.312 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2939, allocations: 55.72 kB / 0.5657 GB, free: 472 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.294, allocations: 55.7 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.294, allocations: 4 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.2948, allocations: 0.5031 MB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.2948, allocations: 19.8 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.2949, allocations: 43.67 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.2955, allocations: 365.2 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2955, allocations: 0 / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.353e-06/0.2955, allocations: 4 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2955, allocations: 0 / 0.5666 GB, free: 15.48 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.0005944/0.2961, allocations: 377.3 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2961, allocations: 8.031 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.2962, allocations: 12.89 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2963, allocations: 122.4 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2963, allocations: 8.375 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.2963, allocations: 16.12 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.2966, allocations: 149.5 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2966, allocations: 4 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2967, allocations: 8 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2967, allocations: 4 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.297, allocations: 135.9 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.2979, allocations: 493.9 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.2981, allocations: 98.53 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.2983, allocations: 48.83 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2983, allocations: 7.984 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2983, allocations: 30.56 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2983, allocations: 0 / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004727/0.2988, allocations: 165.5 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.2988, allocations: 55.41 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2989, allocations: 121.7 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.299, allocations: 25.7 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.299, allocations: 115.7 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.2991, allocations: 39.69 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.2991, allocations: 37.7 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2993, allocations: 318.8 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.2994, allocations: 39.95 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2995, allocations: 79.03 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2998, allocations: 129 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2998, allocations: 4.312 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003385/0.3001, allocations: 165.4 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3001, allocations: 4 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3002, allocations: 4 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3002, allocations: 3.938 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3004, allocations: 55.89 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003866/0.3008, allocations: 0.5977 MB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3009, allocations: 16.02 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3009, allocations: 4 kB / 0.57 GB, free: 11.77 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.0001072/0.301, allocations: 123.1 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.301, allocations: 7.953 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.3014, allocations: 174 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3014, allocations: 4 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3015, allocations: 3.938 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3015, allocations: 0 / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.3017, allocations: 176.7 kB / 0.5704 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3017, allocations: 3.938 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3019, allocations: 47.97 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3019, allocations: 3.938 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3019, allocations: 4 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003285/0.3022, allocations: 0.5937 MB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3022, allocations: 0 / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.3027, allocations: 286.9 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3028, allocations: 27.84 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3028, allocations: 3.984 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3029, allocations: 8 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3029, allocations: 11.97 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.303, allocations: 4 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.303, allocations: 87.34 kB / 0.5715 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.303, allocations: 4 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.3034, allocations: 83.62 kB / 0.5716 GB, free: 10.04 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.0002857/0.3037, allocations: 178.9 kB / 0.5717 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.304, allocations: 123.9 kB / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.304, allocations: 0 / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.3042, allocations: 67.89 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3045, allocations: 9.078 kB / 0.5719 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.3052, allocations: 338.2 kB / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3055, allocations: 0.7117 MB / 0.573 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.3055, allocations: 23.42 kB / 0.573 GB, free: 8.539 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3055, allocations: 288 / 0.573 GB, free: 8.539 MB / 414.1 MB Notification: Performance of Templates: time 0.004659/0.3102, allocations: 2.591 MB / 0.5755 GB, free: 5.953 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.066383256809786]