Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002392/0.002392, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002832/0.002832, allocations: 165.3 kB / 24.27 MB, free: 148 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.677/1.677, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3402/0.3402, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.098e-05, allocations: 6.25 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003458/0.003489, allocations: 1.837 MB / 377.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.005945, allocations: 1.352 MB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.006004, allocations: 4 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.006232, allocations: 43.72 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.00641, allocations: 51.56 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.007035, allocations: 262.9 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.007437, allocations: 107.3 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.007477, allocations: 5.172 kB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.007724, allocations: 67.75 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.007815, allocations: 43.83 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.007836, allocations: 7.938 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.008417, allocations: 311.3 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.008443, allocations: 15.86 kB / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.008494, allocations: 35.86 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.009121, allocations: 330.9 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.009127, allocations: 0 / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.009128, allocations: 0 / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.009136, allocations: 3.984 kB / 379.8 MB, free: 488 kB / 346.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.0007542/0.00989, allocations: 467.5 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.009935, allocations: 8.031 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.01002, allocations: 32.78 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.01016, allocations: 124.4 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.01018, allocations: 8.375 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.01022, allocations: 12.38 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.01051, allocations: 122.7 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.01054, allocations: 3.938 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.01056, allocations: 8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.01056, allocations: 0 / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.01081, allocations: 99.94 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.01182, allocations: 454.4 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.01209, allocations: 103.1 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.0122, allocations: 39.67 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.01224, allocations: 7.984 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.01227, allocations: 37.39 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.01227, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004816/0.01276, allocations: 153.4 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.0128, allocations: 51.41 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.01297, allocations: 177.9 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.01299, allocations: 29.7 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01311, allocations: 170.5 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.01316, allocations: 35.69 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.01323, allocations: 39.36 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002791/0.01351, allocations: 0.4884 MB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.01361, allocations: 35.97 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.01377, allocations: 86.09 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.01403, allocations: 142 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.01404, allocations: 3.984 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003356/0.01437, allocations: 145.4 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.0144, allocations: 11.94 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01441, allocations: 0 / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01442, allocations: 4 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.01465, allocations: 52.06 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/0.01528, allocations: 0.8972 MB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01538, allocations: 11.89 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.0154, allocations: 7.984 kB / 383.8 MB, free: 12.17 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.0001558/0.01555, allocations: 176.5 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.01559, allocations: 7.953 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.01598, allocations: 154.5 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.01599, allocations: 4 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01599, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.016, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.01626, allocations: 168.4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01626, allocations: 4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.01647, allocations: 43.91 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01647, allocations: 0 / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.01649, allocations: 12 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005816/0.01707, allocations: 0.8933 MB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01707, allocations: 3.938 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.01757, allocations: 335.6 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.01762, allocations: 15.94 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.01765, allocations: 4 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.01774, allocations: 4 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.0178, allocations: 11.97 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.01782, allocations: 16.03 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.01792, allocations: 139.1 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01792, allocations: 0 / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.01833, allocations: 79.64 kB / 385.8 MB, free: 10.03 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.0003737/0.0187, allocations: 194.8 kB / 386 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.01939, allocations: 115.5 kB / 386.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01939, allocations: 0 / 386.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.01959, allocations: 75.59 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01988, allocations: 11.98 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.02081, allocations: 299.1 kB / 386.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.02095, allocations: 93.17 kB / 386.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.642e-05/0.02102, allocations: 12.5 kB / 386.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.02108, allocations: 24.42 kB / 386.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02108, allocations: 0 / 386.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of Templates: time 0.0075/0.02858, allocations: 2.402 MB / 389 MB, free: 6.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.348362094955519]