Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002308/0.002308, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3792/0.3792, allocations: 34.25 MB / 295.2 MB, free: 0.6211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.049e-05, allocations: 8.781 kB / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003439/0.003469, allocations: 1.832 MB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.005995, allocations: 1.363 MB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.006072, allocations: 0 / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.006302, allocations: 39.72 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.006499, allocations: 59.55 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.007208, allocations: 254.9 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.007377, allocations: 103.4 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.007415, allocations: 9.172 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.007653, allocations: 83.67 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.007742, allocations: 35.84 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.007763, allocations: 4 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008422/0.008605, allocations: 315.3 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.008631, allocations: 11.88 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.008684, allocations: 27.92 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.009326, allocations: 338.8 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.009333, allocations: 4 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009334, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.009339, allocations: 4 kB / 381.7 MB, free: 14.38 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.0006786/0.01002, allocations: 467.4 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.01006, allocations: 11.97 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.01014, allocations: 24.84 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.01028, allocations: 116.5 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.0103, allocations: 8.375 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.01034, allocations: 16.36 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.01063, allocations: 118.6 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01064, allocations: 3.938 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.01066, allocations: 4 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01067, allocations: 8 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.01092, allocations: 99.94 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/0.01192, allocations: 466.4 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.0122, allocations: 95.08 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.01231, allocations: 39.67 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.01234, allocations: 8 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.01238, allocations: 37.39 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.01238, allocations: 0 / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004619/0.01284, allocations: 153.4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.01289, allocations: 55.41 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.01305, allocations: 177.8 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.01307, allocations: 29.7 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01319, allocations: 170.5 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.01323, allocations: 31.7 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.0133, allocations: 43.36 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.01357, allocations: 0.4923 MB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.01367, allocations: 31.98 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.01383, allocations: 86.09 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.01411, allocations: 138 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01411, allocations: 4 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003543/0.01446, allocations: 153.4 kB / 384.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.01448, allocations: 7.938 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.01449, allocations: 7.984 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01451, allocations: 0 / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.01473, allocations: 43.98 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006377/0.01537, allocations: 0.8971 MB / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.01547, allocations: 16.11 kB / 385.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01548, allocations: 12 kB / 385.7 MB, free: 10.07 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.0001429/0.01563, allocations: 168.5 kB / 385.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.01567, allocations: 11.95 kB / 385.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.01608, allocations: 150.1 kB / 386 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.01609, allocations: 11.97 kB / 386 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01609, allocations: 4 kB / 386.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0161, allocations: 0 / 386.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.01637, allocations: 168.4 kB / 386.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01637, allocations: 4 kB / 386.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.01658, allocations: 43.92 kB / 386.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01658, allocations: 0 / 386.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01659, allocations: 4 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005714/0.01717, allocations: 0.8972 MB / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01717, allocations: 0 / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.01766, allocations: 331.8 kB / 387.5 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.01773, allocations: 15.94 kB / 387.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01775, allocations: 7.984 kB / 387.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.01785, allocations: 4 kB / 387.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.01791, allocations: 11.98 kB / 387.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.01792, allocations: 7.938 kB / 387.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.282e-05/0.01801, allocations: 135.2 kB / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01801, allocations: 0 / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.0184, allocations: 79.62 kB / 387.7 MB, free: 7.938 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.0003956/0.0188, allocations: 188.1 kB / 387.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.01919, allocations: 125.9 kB / 388.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01919, allocations: 0 / 388.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.0194, allocations: 75.64 kB / 388.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.01966, allocations: 12.16 kB / 388.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.02061, allocations: 298.3 kB / 388.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02071, allocations: 97.17 kB / 388.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.02079, allocations: 16.48 kB / 388.5 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.02084, allocations: 16.5 kB / 388.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02084, allocations: 0 / 388.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of Templates: time 0.007111/0.02795, allocations: 2.406 MB / 391 MB, free: 4.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.113982814014889]