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.001047/0.001047, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009972/0.0009972, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9579/0.9579, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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.2616/0.2616, allocations: 34.86 MB / 296.3 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] 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.733e-06/1.733e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.707e-05, allocations: 4.984 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.006152/0.006179, allocations: 1.86 MB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.01132, allocations: 1.375 MB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.01141, allocations: 0 / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.01164, allocations: 31.84 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.01183, allocations: 67.42 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.01239, allocations: 251 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.01253, allocations: 107.3 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.01257, allocations: 13.31 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.0128, allocations: 71.69 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.01288, allocations: 39.83 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.0129, allocations: 4 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.01644, allocations: 307.4 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.01648, allocations: 19.84 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.01652, allocations: 31.86 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.01701, allocations: 334.9 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01701, allocations: 0 / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01701, allocations: 4 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.01702, allocations: 0 / 383.3 MB, free: 13.55 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.0005161/0.01754, allocations: 467.7 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.01758, allocations: 12.03 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.01765, allocations: 24.84 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.01775, allocations: 120.5 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.01777, allocations: 8.375 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.01781, allocations: 12.38 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.01806, allocations: 119.4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.01806, allocations: 3.938 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.01808, allocations: 8 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01809, allocations: 4 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.01822, allocations: 71.89 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.02205, allocations: 454.5 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.02227, allocations: 79.16 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.02233, allocations: 31.67 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.02235, allocations: 3.938 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.02238, allocations: 41.39 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.02238, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002672/0.02264, allocations: 117.5 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.02268, allocations: 55.41 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.02277, allocations: 170.2 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.02279, allocations: 29.7 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.02286, allocations: 162.5 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.02289, allocations: 39.67 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.02295, allocations: 43.36 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.02309, allocations: 0.4922 MB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.02313, allocations: 20 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.02321, allocations: 82.09 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.02335, allocations: 114.4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02335, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002024/0.02356, allocations: 121.6 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.02357, allocations: 11.97 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.02358, allocations: 11.97 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.02359, allocations: 0 / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.02378, allocations: 43.92 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003866/0.02417, allocations: 0.901 MB / 387.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.02424, allocations: 15.89 kB / 387.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.02426, allocations: 8 kB / 387.1 MB, free: 9.41 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 8.785e-05/0.02435, allocations: 164.6 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.02438, allocations: 15.95 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.02464, allocations: 142 kB / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.02464, allocations: 0 / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02464, allocations: 0 / 387.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.02465, allocations: 4 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.02788, allocations: 164.4 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02789, allocations: 4 kB / 387.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.02805, allocations: 39.98 kB / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.02805, allocations: 0 / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.02807, allocations: 7.984 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.02839, allocations: 0.8972 MB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02839, allocations: 0 / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.02866, allocations: 283.8 kB / 388.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.0287, allocations: 23.88 kB / 388.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.02873, allocations: 0 / 388.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.02881, allocations: 12.08 kB / 388.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.02885, allocations: 11.98 kB / 388.9 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.02886, allocations: 7.938 kB / 388.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.061e-05/0.02891, allocations: 135.1 kB / 389 MB, free: 7.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02891, allocations: 0 / 389 MB, free: 7.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.02931, allocations: 83.62 kB / 389.1 MB, free: 7.336 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.0003036/0.02962, allocations: 183 kB / 389.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.02986, allocations: 96.95 kB / 389.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02987, allocations: 0 / 389.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.02997, allocations: 59.59 kB / 389.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.03024, allocations: 8.594 kB / 389.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.03418, allocations: 318.3 kB / 389.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.03422, allocations: 67.34 kB / 389.8 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.0343, allocations: 20.47 kB / 389.8 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.03434, allocations: 16.5 kB / 389.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03434, allocations: 4 kB / 389.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of Templates: time 0.00923/0.04357, allocations: 2.754 MB / 392.6 MB, free: 3.812 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","",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.343500996939838]