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.001729/0.001729, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001837/0.001837, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.491/1.491, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.2462/0.2462, allocations: 46.95 MB / 361.6 MB, free: 3.887 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.002367/0.002367, allocations: 75.88 kB / 0.4974 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3207, allocations: 66.08 MB / 0.5619 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003243/0.3239, allocations: 1.775 MB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.3261, allocations: 1.279 MB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.3262, allocations: 4 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3264, allocations: 39.78 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3266, allocations: 51.62 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.3273, allocations: 247 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3274, allocations: 107.4 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.3275, allocations: 5.312 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.3277, allocations: 59.66 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.3278, allocations: 47.77 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3278, allocations: 4 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005531/0.3283, allocations: 311.5 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.3284, allocations: 23.8 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.3284, allocations: 31.8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.3289, allocations: 313.3 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3289, allocations: 4 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3289, allocations: 3.938 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3289, allocations: 4 kB / 0.5661 GB, free: 15.62 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.0005847/0.3295, allocations: 369.4 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3295, allocations: 8.031 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.3296, allocations: 12.89 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3297, allocations: 126.3 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3297, allocations: 8.375 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.3298, allocations: 16.12 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3301, allocations: 153.6 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3301, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3301, allocations: 3.938 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3301, allocations: 4 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.3304, allocations: 143.8 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.3313, allocations: 395.1 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3315, allocations: 98.66 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.3317, allocations: 44.77 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3317, allocations: 4 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3317, allocations: 38.5 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.3317, allocations: 0 / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005082/0.3322, allocations: 165.8 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3323, allocations: 55.39 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3324, allocations: 117.8 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3324, allocations: 29.7 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3325, allocations: 115.7 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.3325, allocations: 35.69 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.3326, allocations: 45.59 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3327, allocations: 314.8 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3328, allocations: 35.97 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.333, allocations: 89.05 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3333, allocations: 129.1 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3333, allocations: 0 / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003539/0.3336, allocations: 169.3 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3337, allocations: 4.375 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3337, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3337, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3339, allocations: 47.91 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003921/0.3343, allocations: 0.586 MB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3344, allocations: 20.16 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3344, allocations: 12 kB / 0.5694 GB, free: 12.04 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.0001136/0.3345, allocations: 125.7 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3346, allocations: 4 kB / 0.5695 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.335, allocations: 169.9 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.335, allocations: 8 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.335, allocations: 0 / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.335, allocations: 7.875 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.3353, allocations: 145.3 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3353, allocations: 0 / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.3355, allocations: 39.97 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3355, allocations: 7.938 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3355, allocations: 0 / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.3358, allocations: 0.5899 MB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3358, allocations: 4.094 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3363, allocations: 298.8 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3364, allocations: 19.97 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3364, allocations: 7.938 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3365, allocations: 7.984 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.3366, allocations: 11.98 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3366, allocations: 8 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.3366, allocations: 95.2 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3366, allocations: 4.062 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.337, allocations: 79.67 kB / 0.571 GB, free: 10.34 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.0003287/0.3374, allocations: 174.9 kB / 0.5711 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.3378, allocations: 115.9 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3378, allocations: 4 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.338, allocations: 67.89 kB / 0.5713 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3383, allocations: 8 kB / 0.5713 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.339, allocations: 338.4 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.3391, allocations: 93.05 kB / 0.5717 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.3392, allocations: 23.42 kB / 0.5717 GB, free: 9.477 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3392, allocations: 0 / 0.5717 GB, free: 9.477 MB / 414.1 MB Notification: Performance of Templates: time 0.00529/0.3444, allocations: 2.644 MB / 0.5743 GB, free: 6.84 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: 8.123893308918923]