Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2857/0.2857, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.889e-05, allocations: 9.484 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002297/0.002326, allocations: 1.868 MB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.004117, allocations: 1.367 MB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.004181, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.004396, allocations: 35.77 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.004549, allocations: 59.5 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.005093, allocations: 255 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.005218, allocations: 103.3 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.00526, allocations: 13.28 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.005472, allocations: 71.64 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.005536, allocations: 39.88 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.005551, allocations: 4 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.005965, allocations: 315.3 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.005991, allocations: 11.92 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.006042, allocations: 35.84 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.00647, allocations: 334.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.006475, allocations: 0 / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006475, allocations: 0 / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00648, allocations: 0 / 382.6 MB, free: 14.09 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.0004914/0.006972, allocations: 463.8 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.007015, allocations: 12.03 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.007076, allocations: 24.84 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.007177, allocations: 124.5 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.007193, allocations: 12.36 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.007223, allocations: 12.38 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.00743, allocations: 127.4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.00744, allocations: 3.938 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.007454, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.007464, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.898e-05/0.007552, allocations: 59.95 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.008202, allocations: 458.4 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.008351, allocations: 83.09 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.008399, allocations: 35.67 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.008422, allocations: 8 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.008444, allocations: 33.39 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.008445, allocations: 0 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002138/0.008659, allocations: 117.5 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.00869, allocations: 51.41 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.008774, allocations: 181.8 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.008787, allocations: 25.7 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.008849, allocations: 162.5 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.008874, allocations: 43.69 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.008915, allocations: 39.36 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.009038, allocations: 0.4884 MB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/0.009071, allocations: 15.98 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.009131, allocations: 86.03 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.009231, allocations: 110.5 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009233, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001509/0.009384, allocations: 129.4 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.009399, allocations: 11.88 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.009406, allocations: 4 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.009419, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.009551, allocations: 47.91 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003451/0.009896, allocations: 0.8933 MB / 386.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.009951, allocations: 15.89 kB / 386.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.009965, allocations: 16.2 kB / 386.4 MB, free: 9.941 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.696e-05/0.01005, allocations: 172.5 kB / 386.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.01007, allocations: 7.953 kB / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.01027, allocations: 130.1 kB / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01027, allocations: 0 / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01028, allocations: 4 kB / 386.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01028, allocations: 3.984 kB / 386.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01043, allocations: 176.4 kB / 386.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01043, allocations: 0 / 386.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.01053, allocations: 35.97 kB / 386.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01053, allocations: 0 / 386.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01054, allocations: 8 kB / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000253/0.0108, allocations: 0.8894 MB / 387.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.0108, allocations: 3.938 kB / 387.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.011, allocations: 287.8 kB / 388.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.01103, allocations: 23.97 kB / 388.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.01105, allocations: 0 / 388.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.0111, allocations: 8 kB / 388.2 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.01114, allocations: 11.97 kB / 388.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.01115, allocations: 11.94 kB / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.106e-05/0.01119, allocations: 131.5 kB / 388.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 0 / 388.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.01143, allocations: 83.64 kB / 388.4 MB, free: 7.875 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.0002456/0.01167, allocations: 186.9 kB / 388.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.01187, allocations: 99 kB / 388.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01187, allocations: 0 / 388.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.01195, allocations: 67.91 kB / 388.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01214, allocations: 12 kB / 388.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.01289, allocations: 305.5 kB / 389 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01293, allocations: 67.34 kB / 389.1 MB, free: 7.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.01298, allocations: 16.48 kB / 389.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01302, allocations: 20.5 kB / 389.1 MB, free: 7.055 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01302, allocations: 0 / 389.1 MB, free: 7.055 MB / 362.7 MB Notification: Performance of Templates: time 0.004848/0.01787, allocations: 2.752 MB / 391.9 MB, free: 4.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.361448375042528]