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.001344/0.001344, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001429/0.001429, allocations: 219.7 kB / 23 MB, free: 5.578 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.584/1.584, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.2334/0.2334, allocations: 46.91 MB / 359.4 MB, free: 4.855 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.003225/0.003225, allocations: 87.84 kB / 0.4947 GB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3528, allocations: 65.99 MB / 0.5591 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003464/0.3563, allocations: 1.829 MB / 0.5609 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3586, allocations: 1.419 MB / 0.5623 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.3587, allocations: 3.938 kB / 0.5623 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.359, allocations: 39.77 kB / 0.5623 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.3592, allocations: 59.61 kB / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.3599, allocations: 243.1 kB / 0.5626 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.36, allocations: 107.4 kB / 0.5627 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.3601, allocations: 9.125 kB / 0.5627 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.3603, allocations: 59.7 kB / 0.5628 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.3604, allocations: 47.72 kB / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3604, allocations: 4 kB / 0.5628 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008107/0.3612, allocations: 0.5069 MB / 0.5633 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.3612, allocations: 19.86 kB / 0.5633 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.3613, allocations: 39.73 kB / 0.5634 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.3619, allocations: 365.1 kB / 0.5637 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.3619, allocations: 3.984 kB / 0.5637 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3619, allocations: 8 kB / 0.5637 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.3619, allocations: 0 / 0.5637 GB, free: 284 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.0006818/0.3626, allocations: 450.5 kB / 0.5642 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3626, allocations: 8.031 kB / 0.5642 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3627, allocations: 8.891 kB / 0.5642 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3628, allocations: 184.2 kB / 0.5644 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3629, allocations: 12.38 kB / 0.5644 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.3629, allocations: 8.125 kB / 0.5644 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.3632, allocations: 149.6 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3633, allocations: 0 / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3633, allocations: 4 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3633, allocations: 4 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.3636, allocations: 135.8 kB / 0.5647 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.3646, allocations: 0.5145 MB / 0.5652 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.3649, allocations: 90.59 kB / 0.5653 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.365, allocations: 48.81 kB / 0.5653 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3651, allocations: 4 kB / 0.5653 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3651, allocations: 38.5 kB / 0.5653 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.3651, allocations: 0 / 0.5653 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005562/0.3657, allocations: 161.5 kB / 0.5655 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.3657, allocations: 55.41 kB / 0.5655 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3658, allocations: 125.7 kB / 0.5657 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3659, allocations: 25.7 kB / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.3659, allocations: 119.7 kB / 0.5658 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.366, allocations: 43.67 kB / 0.5658 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.366, allocations: 29.72 kB / 0.5659 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3662, allocations: 322.8 kB / 0.5662 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3663, allocations: 35.97 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3665, allocations: 88.98 kB / 0.5663 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.3668, allocations: 129 kB / 0.5664 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3668, allocations: 0 / 0.5664 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003575/0.3671, allocations: 161.4 kB / 0.5666 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3671, allocations: 8 kB / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3671, allocations: 0 / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3672, allocations: 0 / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3674, allocations: 56.06 kB / 0.5666 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/0.3678, allocations: 0.586 MB / 0.5672 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3679, allocations: 15.98 kB / 0.5672 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3679, allocations: 8 kB / 0.5672 GB, free: 12.39 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.000113/0.368, allocations: 117.8 kB / 0.5673 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.3681, allocations: 12.05 kB / 0.5674 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.3685, allocations: 174.2 kB / 0.5675 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3685, allocations: 4 kB / 0.5675 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.3685, allocations: 7.938 kB / 0.5675 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3685, allocations: 0 / 0.5675 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3688, allocations: 217.5 kB / 0.5677 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3688, allocations: 0 / 0.5677 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.369, allocations: 43.97 kB / 0.5678 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.369, allocations: 0 / 0.5678 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3691, allocations: 7.938 kB / 0.5678 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003767/0.3694, allocations: 0.586 MB / 0.5684 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3694, allocations: 0 / 0.5684 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.3699, allocations: 298.7 kB / 0.5687 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.37, allocations: 101 kB / 0.5687 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.37, allocations: 4 kB / 0.5688 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3701, allocations: 7.984 kB / 0.5688 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3702, allocations: 11.98 kB / 0.5688 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3702, allocations: 8.062 kB / 0.5688 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.3703, allocations: 91.27 kB / 0.5689 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3703, allocations: 0 / 0.5689 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.3707, allocations: 71.69 kB / 0.5689 GB, free: 10.54 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.0003612/0.371, allocations: 187.1 kB / 0.5691 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.3714, allocations: 123.9 kB / 0.5692 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3714, allocations: 0 / 0.5692 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3716, allocations: 68.22 kB / 0.5693 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.372, allocations: 15.98 kB / 0.5693 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.3727, allocations: 306.8 kB / 0.5696 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3731, allocations: 0.7155 MB / 0.5703 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.973e-05/0.3731, allocations: 12.56 kB / 0.5703 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3732, allocations: 19.42 kB / 0.5703 GB, free: 9.043 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3732, allocations: 0 / 0.5703 GB, free: 9.043 MB / 414.1 MB Notification: Performance of Templates: time 0.006201/0.3794, allocations: 2.411 MB / 0.5727 GB, free: 6.672 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.58494655508548]