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.001109/0.001109, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.001138/0.001138, allocations: 160.6 kB / 24.99 MB, free: 9.328 MB / 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.191 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.3418/0.3418, allocations: 34.87 MB / 296.6 MB, free: 0.5352 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 2.244e-06/2.244e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.529e-05, allocations: 6.312 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003915/0.00395, allocations: 1.856 MB / 380.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.006271, allocations: 1.367 MB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.006359, allocations: 4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.006622, allocations: 39.7 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.006812, allocations: 59.55 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.007452, allocations: 250.9 kB / 382.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.00761, allocations: 107.4 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.007661, allocations: 9.297 kB / 382.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.007914, allocations: 71.69 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.007997, allocations: 39.83 kB / 382.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.008016, allocations: 8 kB / 382.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.00857, allocations: 311.3 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.008601, allocations: 19.86 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.008658, allocations: 27.91 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005898/0.009248, allocations: 334.8 kB / 383.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.009253, allocations: 0 / 383.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.009256, allocations: 0 / 383.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.009264, allocations: 0 / 383.3 MB, free: 13.88 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.0006411/0.009905, allocations: 467.8 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.772e-05/0.009972, allocations: 12.03 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.01006, allocations: 24.84 kB / 383.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.01021, allocations: 116.5 kB / 383.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.01023, allocations: 12.31 kB / 383.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.01028, allocations: 12.38 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.01056, allocations: 119.4 kB / 384 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01057, allocations: 3.938 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.01059, allocations: 4 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.0106, allocations: 7.938 kB / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.01073, allocations: 63.95 kB / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01175, allocations: 458.5 kB / 384.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.01199, allocations: 91.08 kB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.01207, allocations: 27.67 kB / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.0121, allocations: 4 kB / 384.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.01214, allocations: 41.38 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.835e-06/0.01214, allocations: 0 / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003284/0.01247, allocations: 121.8 kB / 384.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.01251, allocations: 55.41 kB / 384.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01266, allocations: 173.9 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01268, allocations: 25.7 kB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.01278, allocations: 166.5 kB / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.01283, allocations: 39.69 kB / 385.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.01289, allocations: 39.36 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01305, allocations: 0.4884 MB / 385.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.0131, allocations: 15.98 kB / 385.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.01317, allocations: 83.09 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.0133, allocations: 122 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.0133, allocations: 0 / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001869/0.01349, allocations: 125.4 kB / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.01351, allocations: 15.92 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01352, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.01355, allocations: 4 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.01373, allocations: 48.08 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004486/0.01418, allocations: 0.8933 MB / 387.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.01426, allocations: 15.89 kB / 387.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01427, allocations: 8 kB / 387.1 MB, free: 9.73 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.0001275/0.0144, allocations: 168.5 kB / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.01442, allocations: 7.953 kB / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.01467, allocations: 138.4 kB / 387.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01468, allocations: 4 kB / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01468, allocations: 0 / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01469, allocations: 0 / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.01488, allocations: 168.4 kB / 387.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01489, allocations: 0 / 387.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.015, allocations: 39.92 kB / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.015, allocations: 0 / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01502, allocations: 11.98 kB / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003297/0.01535, allocations: 0.8933 MB / 388.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01535, allocations: 0 / 388.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.01559, allocations: 291.7 kB / 388.8 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.01564, allocations: 15.88 kB / 388.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01566, allocations: 0 / 388.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.01572, allocations: 11.98 kB / 388.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.01577, allocations: 7.984 kB / 388.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01578, allocations: 11.94 kB / 388.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.01583, allocations: 131.3 kB / 389 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01583, allocations: 4 kB / 389 MB, free: 7.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000328/0.01616, allocations: 87.56 kB / 389.1 MB, free: 7.66 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.0003317/0.01649, allocations: 179 kB / 389.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.01672, allocations: 96.08 kB / 389.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01672, allocations: 4 kB / 389.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.01679, allocations: 59.59 kB / 389.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01704, allocations: 15.98 kB / 389.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.01789, allocations: 305.4 kB / 389.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.01794, allocations: 67.34 kB / 389.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.018, allocations: 20.7 kB / 389.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.01804, allocations: 20.5 kB / 389.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.01804, allocations: 0 / 389.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of Templates: time 0.005106/0.02314, allocations: 2.39 MB / 392.2 MB, free: 4.508 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.379453384084627]