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.001704/0.001704, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00206/0.00206, allocations: 165.7 kB / 24.27 MB, free: 172 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.477/1.477, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3552/0.3552, allocations: 34.25 MB / 295.3 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.754e-06/1.754e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.849e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003702/0.00373, allocations: 1.782 MB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.006845, allocations: 1.281 MB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.006959, allocations: 0 / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.007221, allocations: 39.77 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.007498, allocations: 55.55 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.008257, allocations: 254.9 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.008465, allocations: 107.4 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.008507, allocations: 9.172 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.008778, allocations: 75.62 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.008881, allocations: 35.89 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.0089, allocations: 11.94 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006374/0.009538, allocations: 311.4 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.009573, allocations: 19.84 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.009634, allocations: 27.92 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.01031, allocations: 338.8 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01031, allocations: 0 / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01031, allocations: 0 / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01032, allocations: 0 / 381.6 MB, free: 14.6 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.0007164/0.01103, allocations: 369.5 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.01107, allocations: 8.031 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.01115, allocations: 24.84 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.01131, allocations: 129.6 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.01133, allocations: 8.375 kB / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.01137, allocations: 8.375 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.01173, allocations: 146.7 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01174, allocations: 3.938 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.01176, allocations: 4 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01176, allocations: 4 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.01211, allocations: 143.8 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.01309, allocations: 407.2 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.0134, allocations: 90.66 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.01355, allocations: 40.83 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.01359, allocations: 11.98 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.01362, allocations: 38.5 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.01363, allocations: 0 / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005877/0.01421, allocations: 165.8 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.01427, allocations: 51.41 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.01439, allocations: 121.7 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.01442, allocations: 25.7 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.01452, allocations: 119.8 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.01456, allocations: 43.69 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.01463, allocations: 33.7 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01481, allocations: 314.8 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.01495, allocations: 43.91 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.01514, allocations: 77.11 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.01546, allocations: 129.1 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01546, allocations: 0 / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004321/0.01589, allocations: 169.4 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.01591, allocations: 11.94 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01592, allocations: 160 / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.01595, allocations: 8 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.0162, allocations: 47.91 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005261/0.01673, allocations: 0.586 MB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01685, allocations: 19.91 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.01688, allocations: 8 kB / 385 MB, free: 11.01 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.0001309/0.01701, allocations: 117.8 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.01706, allocations: 11.95 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.01755, allocations: 174 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01756, allocations: 4 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01756, allocations: 0 / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01757, allocations: 4 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.01783, allocations: 157.1 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01784, allocations: 0 / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.01807, allocations: 47.97 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01807, allocations: 0 / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.01809, allocations: 4 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/0.01854, allocations: 0.586 MB / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01854, allocations: 0 / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.01914, allocations: 299.1 kB / 386.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.01919, allocations: 24.12 kB / 386.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.01921, allocations: 0 / 386.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01934, allocations: 11.98 kB / 386.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.0194, allocations: 11.92 kB / 386.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01941, allocations: 4 kB / 386.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.01975, allocations: 99.52 kB / 386.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01975, allocations: 0 / 386.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000454/0.02021, allocations: 87.62 kB / 386.6 MB, free: 9.305 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.000408/0.02062, allocations: 182.8 kB / 386.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.02107, allocations: 120.1 kB / 386.9 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02108, allocations: 4 kB / 386.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.0213, allocations: 67.89 kB / 387 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.02165, allocations: 8 kB / 387 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.02244, allocations: 287.4 kB / 387.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.02255, allocations: 97.23 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.47e-05/0.02263, allocations: 20.47 kB / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.02269, allocations: 20.48 kB / 387.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02269, allocations: 0 / 387.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of Templates: time 0.007046/0.02973, allocations: 2.378 MB / 389.8 MB, free: 6.125 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.109140708926134]