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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 253.1 MB, free: 13.05 MB / 206.1 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.2483/0.2483, allocations: 44.91 MB / 353.2 MB, free: 11.86 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002193/0.002193, allocations: 63.89 kB / 497.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3999, allocations: 64.29 MB / 0.5485 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.005426/0.4053, allocations: 1.829 MB / 0.5502 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.4093, allocations: 1.351 MB / 0.5516 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.4094, allocations: 4.969 kB / 0.5516 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.4096, allocations: 44.19 kB / 0.5516 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.4099, allocations: 56.22 kB / 0.5517 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.4107, allocations: 245 kB / 0.5519 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.4109, allocations: 107 kB / 0.552 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.411, allocations: 7.75 kB / 0.552 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.4112, allocations: 52.72 kB / 0.5521 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.4113, allocations: 52.14 kB / 0.5521 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4114, allocations: 4.375 kB / 0.5521 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008407/0.4122, allocations: 320.5 kB / 0.5524 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.4122, allocations: 14.14 kB / 0.5524 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.4123, allocations: 50.39 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.413, allocations: 299.5 kB / 0.5528 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.413, allocations: 7.922 kB / 0.5528 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.413, allocations: 1.125 kB / 0.5528 GB, free: 9.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.413, allocations: 0 / 0.5528 GB, free: 9.867 MB / 398.1 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.00072/0.4137, allocations: 361.3 kB / 0.5531 GB, free: 9.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4138, allocations: 10.64 kB / 0.5531 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.4138, allocations: 14.22 kB / 0.5531 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.414, allocations: 118.5 kB / 0.5533 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.414, allocations: 13.41 kB / 0.5533 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.414, allocations: 20.06 kB / 0.5533 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.4145, allocations: 140.9 kB / 0.5534 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4145, allocations: 0 / 0.5534 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4145, allocations: 5.188 kB / 0.5534 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4145, allocations: 3.375 kB / 0.5534 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.4149, allocations: 135.7 kB / 0.5536 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4161, allocations: 495.7 kB / 0.554 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.4165, allocations: 100.4 kB / 0.5541 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.4167, allocations: 50.8 kB / 0.5542 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4167, allocations: 2.125 kB / 0.5542 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4167, allocations: 31.62 kB / 0.5542 GB, free: 8.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.4167, allocations: 0 / 0.5542 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006932/0.4174, allocations: 156.4 kB / 0.5544 GB, free: 8.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4175, allocations: 56.66 kB / 0.5544 GB, free: 8.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4176, allocations: 122.1 kB / 0.5545 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.4176, allocations: 34.86 kB / 0.5546 GB, free: 8.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.4177, allocations: 109.4 kB / 0.5547 GB, free: 8.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.4178, allocations: 48.97 kB / 0.5547 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.4178, allocations: 31.8 kB / 0.5547 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.418, allocations: 316.9 kB / 0.555 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.4182, allocations: 41.94 kB / 0.5551 GB, free: 7.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.4184, allocations: 85.12 kB / 0.5552 GB, free: 7.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.4187, allocations: 135.4 kB / 0.5553 GB, free: 7.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4188, allocations: 1.281 kB / 0.5553 GB, free: 7.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003642/0.4191, allocations: 156.2 kB / 0.5554 GB, free: 7.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4191, allocations: 5.875 kB / 0.5554 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4191, allocations: 9.469 kB / 0.5555 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4192, allocations: 3.094 kB / 0.5555 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.4194, allocations: 41.25 kB / 0.5555 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004249/0.4198, allocations: 0.5921 MB / 0.5561 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.4199, allocations: 26.8 kB / 0.5561 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.4199, allocations: 9.625 kB / 0.5561 GB, free: 6.887 MB / 398.1 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.0001059/0.42, allocations: 122.4 kB / 0.5562 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.4201, allocations: 7.328 kB / 0.5562 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.4206, allocations: 176.9 kB / 0.5564 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4206, allocations: 1.219 kB / 0.5564 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4206, allocations: 5.031 kB / 0.5564 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4206, allocations: 0 / 0.5564 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.4208, allocations: 186.1 kB / 0.5566 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4208, allocations: 0 / 0.5566 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.4211, allocations: 46.11 kB / 0.5566 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4211, allocations: 0.9375 kB / 0.5566 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4211, allocations: 1.25 kB / 0.5566 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003627/0.4214, allocations: 0.596 MB / 0.5572 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4214, allocations: 0 / 0.5572 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.422, allocations: 284.8 kB / 0.5575 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.422, allocations: 21.72 kB / 0.5575 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.4221, allocations: 8.156 kB / 0.5575 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4222, allocations: 9.109 kB / 0.5575 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.4222, allocations: 11.17 kB / 0.5575 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.4222, allocations: 4.344 kB / 0.5575 GB, free: 5.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.756e-05/0.4223, allocations: 94.05 kB / 0.5576 GB, free: 5.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4223, allocations: 1.219 kB / 0.5576 GB, free: 5.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.4227, allocations: 79.53 kB / 0.5577 GB, free: 5.469 MB / 398.1 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.0003592/0.4231, allocations: 171.5 kB / 0.5579 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004634/0.4236, allocations: 124.3 kB / 0.558 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4236, allocations: 0 / 0.558 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.4238, allocations: 70.55 kB / 0.5581 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.4242, allocations: 8.5 kB / 0.5581 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.425, allocations: 320 kB / 0.5584 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4254, allocations: 0.7041 MB / 0.5591 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.4255, allocations: 16.48 kB / 0.5591 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.4255, allocations: 23.42 kB / 0.5591 GB, free: 4.117 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4255, allocations: 0 / 0.5591 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Templates: time 0.006412/0.432, allocations: 2.351 MB / 0.5614 GB, free: 1.805 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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.588568419218063]