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.001541/0.001541, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001718/0.001718, allocations: 156.9 kB / 24.27 MB, free: 176 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 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 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.3468/0.3468, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.532e-06/1.532e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.72e-05, allocations: 8.5 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003547/0.003574, allocations: 1.783 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.00611, allocations: 1.281 MB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.006194, allocations: 4 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.006427, allocations: 39.72 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.006638, allocations: 55.56 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.007345, allocations: 251 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.007525, allocations: 111.3 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.007566, allocations: 13.16 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.007803, allocations: 71.69 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.007902, allocations: 35.84 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.00792, allocations: 4 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.008519, allocations: 311.3 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.008547, allocations: 19.86 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.008605, allocations: 31.92 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.009226, allocations: 338.9 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.009228, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009229, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.009234, allocations: 0 / 381.6 MB, free: 14.54 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.0006921/0.009926, allocations: 369.4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.009962, allocations: 8.031 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.01004, allocations: 24.84 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.01018, allocations: 121.6 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.0102, allocations: 8.375 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.01023, allocations: 16.38 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.01059, allocations: 142.6 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.0106, allocations: 3.938 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.01062, allocations: 7.984 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.01063, allocations: 8 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.011, allocations: 143.9 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.01198, allocations: 407.2 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.01229, allocations: 102.6 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.01243, allocations: 44.83 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.01247, allocations: 4 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.0125, allocations: 30.56 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.0125, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005859/0.01308, allocations: 169.5 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.01315, allocations: 59.34 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01328, allocations: 117.8 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.01331, allocations: 29.7 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.0134, allocations: 115.8 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.01344, allocations: 35.7 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.0135, allocations: 29.7 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.0137, allocations: 322.8 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01384, allocations: 35.97 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.01402, allocations: 81.12 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.01435, allocations: 129 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01435, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004275/0.01478, allocations: 169.8 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.01479, allocations: 7.938 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.0148, allocations: 4 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.01482, allocations: 0 / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.01507, allocations: 47.97 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007576/0.01582, allocations: 0.5899 MB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01595, allocations: 20.14 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01597, allocations: 8 kB / 384.9 MB, free: 10.95 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 0.0001381/0.0161, allocations: 125.7 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.01615, allocations: 11.95 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.01664, allocations: 173.5 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01665, allocations: 4 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01665, allocations: 0 / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.01666, allocations: 3.984 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.01693, allocations: 149.1 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01693, allocations: 3.984 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.01716, allocations: 39.92 kB / 385.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01716, allocations: 4 kB / 385.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.01718, allocations: 7.984 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004413/0.01762, allocations: 0.586 MB / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01762, allocations: 0 / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.0182, allocations: 309.8 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.01825, allocations: 11.97 kB / 386.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.01828, allocations: 4 kB / 386.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.0184, allocations: 12 kB / 386.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.01847, allocations: 15.91 kB / 386.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01848, allocations: 8.156 kB / 386.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.01855, allocations: 91.27 kB / 386.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01855, allocations: 0 / 386.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.01896, allocations: 79.64 kB / 386.5 MB, free: 9.246 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.0003949/0.01936, allocations: 186.8 kB / 386.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.01981, allocations: 123.8 kB / 386.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01981, allocations: 0 / 386.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.02004, allocations: 63.97 kB / 386.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.02039, allocations: 12.3 kB / 386.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.02114, allocations: 292.9 kB / 387.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.02124, allocations: 93.17 kB / 387.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.02132, allocations: 20.7 kB / 387.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.02139, allocations: 20.5 kB / 387.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02139, allocations: 0 / 387.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of Templates: time 0.007108/0.0285, allocations: 2.383 MB / 389.7 MB, free: 6.059 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=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.1.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.047026974963956]