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.001092/0.001092, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001358/0.001358, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.078/1.078, allocations: 177 MB / 205.9 MB, free: 4.461 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.1603/0.1603, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.693e-06/1.693e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.344e-05, allocations: 2.906 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.005159/0.005172, allocations: 1.842 MB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.006719, allocations: 1.352 MB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.006789, allocations: 0 / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.00698, allocations: 43.7 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.007113, allocations: 63.55 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.01055, allocations: 250.9 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.01066, allocations: 111.3 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.01069, allocations: 5.312 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.01087, allocations: 63.83 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.01093, allocations: 47.81 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.01095, allocations: 4 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.01133, allocations: 307.3 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.01135, allocations: 23.84 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.01138, allocations: 23.92 kB / 384.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.01174, allocations: 330.9 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01174, allocations: 3.984 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01174, allocations: 0 / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.01175, allocations: 4 kB / 384.5 MB, free: 18.25 MB / 314.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.0003549/0.0121, allocations: 463.8 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.01213, allocations: 8.031 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.01218, allocations: 28.78 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.275e-05/0.01225, allocations: 120.5 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.01227, allocations: 8.375 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.01229, allocations: 12.38 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.01244, allocations: 123.8 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01245, allocations: 3.938 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01247, allocations: 4 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01247, allocations: 8 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.01254, allocations: 47.95 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.01306, allocations: 435.1 kB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.01319, allocations: 80.94 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.01322, allocations: 27.67 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.01323, allocations: 4 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.01325, allocations: 33.39 kB / 385.9 MB, free: 16.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.01325, allocations: 4 kB / 385.9 MB, free: 16.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.003197/0.01645, allocations: 109.5 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.01647, allocations: 51.41 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.808e-05/0.01652, allocations: 177.9 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.01652, allocations: 25.7 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.01656, allocations: 162.6 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.01658, allocations: 43.62 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.01661, allocations: 35.34 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.01666, allocations: 0.4962 MB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.01668, allocations: 15.98 kB / 387 MB, free: 15.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.01671, allocations: 74.09 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.01678, allocations: 103.1 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01678, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001035/0.01688, allocations: 117.4 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.0169, allocations: 9.859 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.0169, allocations: 8.156 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.01691, allocations: 3.938 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01704, allocations: 39.98 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002027/0.01725, allocations: 0.9049 MB / 388.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.01729, allocations: 15.89 kB / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.01729, allocations: 4 kB / 388.2 MB, free: 14.21 MB / 314.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 5.364e-05/0.01735, allocations: 168.5 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01737, allocations: 16.02 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.01751, allocations: 126.4 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01752, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01752, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01752, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.01763, allocations: 145.1 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01764, allocations: 0 / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.01772, allocations: 43.91 kB / 388.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01772, allocations: 7.938 kB / 388.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.01773, allocations: 4 kB / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001218/0.01785, allocations: 0.8933 MB / 389.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01785, allocations: 0 / 389.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.01798, allocations: 275.7 kB / 389.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01801, allocations: 19.94 kB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.01802, allocations: 0 / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.01807, allocations: 7.938 kB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.0181, allocations: 12.08 kB / 389.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.0181, allocations: 7.984 kB / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.006e-05/0.01812, allocations: 127.2 kB / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01812, allocations: 0 / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.01835, allocations: 87.62 kB / 390.2 MB, free: 12.2 MB / 314.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.0001842/0.01853, allocations: 190.6 kB / 390.4 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01867, allocations: 90.45 kB / 390.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.02e-07/0.01867, allocations: 0 / 390.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.01873, allocations: 55.64 kB / 390.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.01891, allocations: 20.28 kB / 390.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.01948, allocations: 302 kB / 390.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.01951, allocations: 71.27 kB / 390.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.01956, allocations: 24.7 kB / 390.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.01961, allocations: 86.19 kB / 391 MB, free: 11.31 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01961, allocations: 0 / 391 MB, free: 11.31 MB / 314.7 MB Notification: Performance of Templates: time 0.004014/0.02363, allocations: 2.737 MB / 393.7 MB, free: 8.637 MB / 314.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.573665992822498]