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.00153/0.00153, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001787/0.001787, allocations: 161.6 kB / 24.99 MB, free: 9.289 MB / 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 0.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2623/0.2623, allocations: 34.26 MB / 296 MB, free: 0.6953 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.393e-06/1.393e-06, allocations: 0 / 378 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.514e-05, allocations: 2.312 kB / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002481/0.002506, allocations: 1.864 MB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.004115, allocations: 1.363 MB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.004196, allocations: 4 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.00444, allocations: 39.72 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.004583, allocations: 59.55 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.005058, allocations: 251 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.005179, allocations: 107.3 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.005226, allocations: 9.25 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.005455, allocations: 67.75 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.005521, allocations: 35.89 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.005535, allocations: 7.938 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.005915, allocations: 319.3 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.005938, allocations: 15.86 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.00598, allocations: 27.92 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.006383, allocations: 342.8 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.006389, allocations: 0 / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006391, allocations: 0 / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.006397, allocations: 0 / 382.5 MB, free: 14.4 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.0004418/0.006839, allocations: 463.8 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.006878, allocations: 12.03 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.006933, allocations: 24.84 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.007026, allocations: 116.5 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.007041, allocations: 8.375 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.007069, allocations: 12.38 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.007257, allocations: 127.4 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.007266, allocations: 3.938 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.007279, allocations: 7.984 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.007288, allocations: 4 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.007383, allocations: 59.95 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.008006, allocations: 462.4 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.008158, allocations: 87.08 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.008205, allocations: 35.67 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.008226, allocations: 4 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.008249, allocations: 33.39 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.00825, allocations: 0 / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002548/0.008505, allocations: 121.8 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.008535, allocations: 59.34 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.008631, allocations: 173.9 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.008647, allocations: 29.7 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.00872, allocations: 162.5 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.008745, allocations: 39.69 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.008787, allocations: 35.36 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.008904, allocations: 0.4962 MB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.008938, allocations: 16 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.009001, allocations: 82.09 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.009109, allocations: 114 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009111, allocations: 0 / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000159/0.00927, allocations: 129.4 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.009284, allocations: 7.938 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.009291, allocations: 7.984 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009305, allocations: 0 / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.009444, allocations: 43.92 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003579/0.009802, allocations: 0.8933 MB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.384e-05/0.009856, allocations: 19.88 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.009867, allocations: 8.219 kB / 386.4 MB, free: 10.26 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 9.292e-05/0.00996, allocations: 172.5 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.009984, allocations: 11.95 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.0102, allocations: 136.8 kB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01021, allocations: 0 / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01021, allocations: 0 / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01022, allocations: 4 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.01038, allocations: 168.5 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01039, allocations: 0 / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.0105, allocations: 39.92 kB / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.0105, allocations: 3.984 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01052, allocations: 7.984 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000294/0.01081, allocations: 0.8894 MB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01082, allocations: 0 / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.01103, allocations: 287.7 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.01107, allocations: 19.97 kB / 388.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.01109, allocations: 8 kB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.01114, allocations: 7.984 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.0112, allocations: 11.98 kB / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.01121, allocations: 7.938 kB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.01126, allocations: 135.5 kB / 388.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01126, allocations: 0 / 388.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.01153, allocations: 83.62 kB / 388.4 MB, free: 8.188 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.0002942/0.01182, allocations: 186.8 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.01205, allocations: 87.58 kB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01205, allocations: 0 / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.01214, allocations: 67.91 kB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.01236, allocations: 12 kB / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.01321, allocations: 317.5 kB / 389 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.01326, allocations: 67.34 kB / 389.1 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.01332, allocations: 12.48 kB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.01336, allocations: 20.5 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01336, allocations: 0 / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of Templates: time 0.004657/0.01802, allocations: 2.398 MB / 391.5 MB, free: 5.016 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.291762382024899]