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.001047/0.001047, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001016/0.001016, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9641/0.9641, allocations: 177 MB / 204.8 MB, free: 5.598 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.2556/0.2556, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 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.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.587e-05, allocations: 3.156 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002424/0.00245, allocations: 1.869 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.004099, allocations: 1.371 MB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.004161, allocations: 0 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.004369, allocations: 35.77 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.004512, allocations: 63.5 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.00495, allocations: 247 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.005064, allocations: 111.4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.005103, allocations: 13.25 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.005309, allocations: 67.7 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.00538, allocations: 43.81 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.005397, allocations: 4 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.005804, allocations: 311.4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.005831, allocations: 19.84 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.005874, allocations: 27.92 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.006323, allocations: 326.8 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.006326, allocations: 4 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006327, allocations: 4 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.006333, allocations: 0 / 383.3 MB, free: 13.53 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.0005049/0.006838, allocations: 463.8 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.006876, allocations: 12.03 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.006925, allocations: 20.84 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.601e-05/0.007011, allocations: 128.5 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.007025, allocations: 8.375 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.007056, allocations: 16.36 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.007254, allocations: 119.4 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007263, allocations: 3.938 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.007278, allocations: 8 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007286, allocations: 7.938 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.007383, allocations: 67.89 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.008023, allocations: 462.5 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.008181, allocations: 75.16 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.008229, allocations: 39.61 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.008251, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.008272, allocations: 41.39 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.008273, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.00023/0.008503, allocations: 117.5 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.008533, allocations: 55.41 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.008616, allocations: 170.2 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.008628, allocations: 29.7 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.008689, allocations: 162.5 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.008713, allocations: 35.69 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.008756, allocations: 43.3 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.008893, allocations: 0.4884 MB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.008932, allocations: 19.98 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.008994, allocations: 86.09 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.009109, allocations: 106 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.009112, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001611/0.009273, allocations: 129.8 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.009288, allocations: 12.09 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.009295, allocations: 7.984 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.009309, allocations: 3.938 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.009448, allocations: 43.97 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/0.009823, allocations: 0.8972 MB / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.009884, allocations: 19.88 kB / 387.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.009896, allocations: 8 kB / 387.1 MB, free: 9.383 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 8.663e-05/0.009982, allocations: 164.6 kB / 387.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.01001, allocations: 15.95 kB / 387.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.01023, allocations: 134 kB / 387.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01023, allocations: 3.984 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01024, allocations: 0 / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01024, allocations: 3.984 kB / 387.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.0104, allocations: 164.5 kB / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01041, allocations: 7.984 kB / 387.6 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.01051, allocations: 39.98 kB / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01051, allocations: 0 / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01052, allocations: 0 / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002654/0.01079, allocations: 0.901 MB / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01079, allocations: 0 / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.01099, allocations: 283.8 kB / 388.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.01104, allocations: 19.88 kB / 388.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01105, allocations: 4 kB / 388.9 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.01111, allocations: 8.094 kB / 388.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.01115, allocations: 15.97 kB / 388.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.01116, allocations: 11.94 kB / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.0112, allocations: 135.1 kB / 389 MB, free: 7.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 0 / 389 MB, free: 7.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.01146, allocations: 83.58 kB / 389.1 MB, free: 7.309 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.0002611/0.01173, allocations: 186.9 kB / 389.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.01193, allocations: 90.7 kB / 389.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01194, allocations: 0 / 389.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.01202, allocations: 63.59 kB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01224, allocations: 8.594 kB / 389.5 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.01305, allocations: 312.8 kB / 389.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.01309, allocations: 67.34 kB / 389.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.01315, allocations: 16.48 kB / 389.8 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.01319, allocations: 20.5 kB / 389.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01319, allocations: 4 kB / 389.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of Templates: time 0.004762/0.01795, allocations: 2.392 MB / 392.3 MB, free: 4.152 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: 3.3653959608636796]