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.001135/0.001135, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001205/0.001205, allocations: 166.3 kB / 24.82 MB, free: 9.312 MB / 18.57 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 0.9755/0.9755, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2487/0.2487, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 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 1.553e-06/1.553e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.66e-05, allocations: 8.922 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002014/0.002031, allocations: 1.86 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.003471, allocations: 1.355 MB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.003527, allocations: 0 / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.003698, allocations: 39.77 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.003818, allocations: 55.55 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.004178, allocations: 258.9 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.605e-05/0.004274, allocations: 107.3 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.004308, allocations: 5.312 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.004481, allocations: 71.7 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.00454, allocations: 47.81 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.004552, allocations: 4 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.004881, allocations: 303.4 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.004901, allocations: 23.84 kB / 383.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.004929, allocations: 31.86 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.005256, allocations: 334.9 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.005257, allocations: 0 / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005258, allocations: 0 / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.005262, allocations: 0 / 383.7 MB, free: 13.31 MB / 362.7 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.0003673/0.005629, allocations: 459.8 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005666, allocations: 16.02 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.005707, allocations: 32.78 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.005782, allocations: 116.5 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.005794, allocations: 8.375 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.005815, allocations: 16.38 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.005951, allocations: 107.4 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.005959, allocations: 3.938 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005969, allocations: 8 kB / 384.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005975, allocations: 4 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.149e-05/0.006036, allocations: 51.89 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.00655, allocations: 431.1 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.006666, allocations: 79.16 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.0067, allocations: 35.64 kB / 385.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.006725, allocations: 4 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.006746, allocations: 37.33 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.006747, allocations: 0 / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000165/0.006912, allocations: 109.5 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.006933, allocations: 51.41 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.007008, allocations: 173.9 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.007019, allocations: 25.7 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.007074, allocations: 170.5 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.007095, allocations: 39.7 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.007133, allocations: 35.34 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007239, allocations: 0.4923 MB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.007262, allocations: 19.98 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.007309, allocations: 78.03 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.529e-05/0.007384, allocations: 94.05 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007386, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001106/0.007497, allocations: 129.8 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.007508, allocations: 4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.007513, allocations: 4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.007523, allocations: 3.938 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.007633, allocations: 43.92 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000267/0.0079, allocations: 0.9049 MB / 387.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.007942, allocations: 16.11 kB / 387.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.007951, allocations: 8 kB / 387.5 MB, free: 9.262 MB / 362.7 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 6.703e-05/0.008018, allocations: 164.5 kB / 387.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.008037, allocations: 11.95 kB / 387.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.008197, allocations: 130.3 kB / 387.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008198, allocations: 0 / 387.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.0082, allocations: 4 kB / 387.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008203, allocations: 0 / 387.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.008327, allocations: 137.1 kB / 387.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008328, allocations: 0 / 387.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/0.008414, allocations: 43.97 kB / 388 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.008418, allocations: 7.938 kB / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.008426, allocations: 4 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002281/0.008654, allocations: 0.8972 MB / 388.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008655, allocations: 3.938 kB / 388.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.008811, allocations: 279 kB / 389.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.008842, allocations: 23.88 kB / 389.2 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.008852, allocations: 0 / 389.2 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.008898, allocations: 4 kB / 389.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.008927, allocations: 11.98 kB / 389.2 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.008932, allocations: 3.984 kB / 389.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.008964, allocations: 127.2 kB / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.008964, allocations: 0 / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.009177, allocations: 87.62 kB / 389.4 MB, free: 7.254 MB / 362.7 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.0001887/0.009365, allocations: 190.9 kB / 389.6 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.009498, allocations: 87.64 kB / 389.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.009499, allocations: 0 / 389.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.009558, allocations: 59.58 kB / 389.7 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.009729, allocations: 15.98 kB / 389.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.0103, allocations: 296.9 kB / 390 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.702e-05/0.01034, allocations: 71.27 kB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.01039, allocations: 20.72 kB / 390.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.01045, allocations: 90.12 kB / 390.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01045, allocations: 0 / 390.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of Templates: time 0.003861/0.01431, allocations: 2.708 MB / 392.9 MB, free: 3.711 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] 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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.997866739053279]