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.001394/0.001394, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001553/0.001553, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.537/1.537, allocations: 230.3 MB / 258 MB, free: 8.445 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.2446/0.2446, allocations: 46.9 MB / 361.3 MB, free: 4.504 MB / 286.1 MB " [Timeout remaining time 179] 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.002523/0.002523, allocations: 79.86 kB / 0.4971 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3461, allocations: 66.03 MB / 0.5616 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003202/0.3493, allocations: 1.823 MB / 0.5633 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.3517, allocations: 1.415 MB / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.3518, allocations: 0 / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.352, allocations: 51.69 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.3522, allocations: 51.61 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.3527, allocations: 251.1 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3529, allocations: 99.41 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.3529, allocations: 17.23 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3531, allocations: 47.78 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.3532, allocations: 55.7 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.3532, allocations: 7.984 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.354, allocations: 0.503 MB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.354, allocations: 15.86 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.3541, allocations: 47.72 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.3546, allocations: 361.3 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3546, allocations: 0 / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3546, allocations: 0 / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3547, allocations: 3.984 kB / 0.5662 GB, free: 15.91 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.0005855/0.3552, allocations: 381.3 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3553, allocations: 8.031 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3553, allocations: 12.89 kB / 0.5666 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3555, allocations: 118.4 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3555, allocations: 16.31 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.3555, allocations: 16.12 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.3559, allocations: 145.6 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3559, allocations: 0 / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.356, allocations: 4 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.356, allocations: 4 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.3563, allocations: 147.8 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3574, allocations: 493.9 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.3577, allocations: 98.58 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3578, allocations: 40.83 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3578, allocations: 8 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3579, allocations: 34.5 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.3579, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005433/0.3584, allocations: 165.5 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3585, allocations: 55.39 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.3586, allocations: 117.8 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3586, allocations: 29.7 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.3587, allocations: 115.7 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3587, allocations: 39.69 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.3588, allocations: 33.7 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3589, allocations: 318.8 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3591, allocations: 39.97 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3592, allocations: 84.98 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.3595, allocations: 129 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3595, allocations: 3.938 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003691/0.3599, allocations: 165.9 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3599, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3599, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3599, allocations: 0 / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3601, allocations: 51.91 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/0.3606, allocations: 0.59 MB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3607, allocations: 16.02 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3607, allocations: 4.375 kB / 0.5695 GB, free: 12.21 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.0001741/0.3609, allocations: 121.7 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3609, allocations: 7.953 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.3614, allocations: 181.2 kB / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3614, allocations: 4 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3614, allocations: 3.938 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3614, allocations: 0 / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3617, allocations: 180.7 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3617, allocations: 0 / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.3619, allocations: 47.91 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3619, allocations: 7.938 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3619, allocations: 8 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003913/0.3623, allocations: 0.586 MB / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3623, allocations: 0 / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.3628, allocations: 291.5 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3629, allocations: 23.84 kB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3629, allocations: 7.938 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.363, allocations: 11.98 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.3631, allocations: 7.984 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3631, allocations: 4 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.069e-05/0.3631, allocations: 91.27 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3631, allocations: 0 / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.3635, allocations: 83.69 kB / 0.5711 GB, free: 10.47 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.0004531/0.364, allocations: 175 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3644, allocations: 131.8 kB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3644, allocations: 0 / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.3646, allocations: 67.89 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3649, allocations: 8 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.3656, allocations: 307.8 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.366, allocations: 0.7078 MB / 0.5725 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.366, allocations: 24.69 kB / 0.5725 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.3661, allocations: 19.38 kB / 0.5725 GB, free: 8.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3661, allocations: 0 / 0.5725 GB, free: 8.988 MB / 414.1 MB Notification: Performance of Templates: time 0.00682/0.3729, allocations: 2.436 MB / 0.5749 GB, free: 6.59 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/jenkins/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/jenkins/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: 5.474967285990715]