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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4538, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003441/0.4573, allocations: 1.816 MB / 0.5328 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.4595, allocations: 1.383 MB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.4596, allocations: 1.906 kB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.4599, allocations: 43.2 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.4601, allocations: 59.14 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.4607, allocations: 247.1 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.4609, allocations: 103.2 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.461, allocations: 10.62 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.4612, allocations: 60.83 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.4613, allocations: 44.62 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.4613, allocations: 4.781 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007967/0.4621, allocations: 0.5114 MB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.4622, allocations: 14.55 kB / 0.5352 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.4622, allocations: 42.81 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.4627, allocations: 362.6 kB / 0.5356 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4628, allocations: 1.375 kB / 0.5356 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4628, allocations: 4 kB / 0.5356 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4628, allocations: 0 / 0.5356 GB, free: 10.19 MB / 398.1 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.000561/0.4633, allocations: 450.8 kB / 0.536 GB, free: 9.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4634, allocations: 8.688 kB / 0.536 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.4634, allocations: 11.27 kB / 0.536 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.4636, allocations: 175.7 kB / 0.5362 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4636, allocations: 13.56 kB / 0.5362 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.4636, allocations: 15.69 kB / 0.5362 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.4639, allocations: 150 kB / 0.5364 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4639, allocations: 1.062 kB / 0.5364 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.464, allocations: 1.094 kB / 0.5364 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.464, allocations: 3.219 kB / 0.5364 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.4643, allocations: 136.4 kB / 0.5365 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.4653, allocations: 0.5139 MB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4655, allocations: 99.44 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.4657, allocations: 53.45 kB / 0.5372 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.4657, allocations: 2.469 kB / 0.5372 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4658, allocations: 35.97 kB / 0.5372 GB, free: 8.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.4658, allocations: 0 / 0.5372 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004801/0.4662, allocations: 160.1 kB / 0.5374 GB, free: 8.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4663, allocations: 57.06 kB / 0.5374 GB, free: 8.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.4664, allocations: 126.4 kB / 0.5375 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4664, allocations: 25.7 kB / 0.5376 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.4665, allocations: 120.6 kB / 0.5377 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.4665, allocations: 44.55 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.12e-05/0.4666, allocations: 33.31 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4667, allocations: 320.9 kB / 0.5381 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4669, allocations: 37 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.467, allocations: 87.05 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.4673, allocations: 135.1 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4673, allocations: 1.25 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003395/0.4677, allocations: 156.5 kB / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4677, allocations: 6.688 kB / 0.5385 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4677, allocations: 5.266 kB / 0.5385 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4677, allocations: 2.781 kB / 0.5385 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.4679, allocations: 44.22 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003522/0.4683, allocations: 0.5974 MB / 0.5391 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.4684, allocations: 9.688 kB / 0.5391 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.4684, allocations: 13.95 kB / 0.5391 GB, free: 6.984 MB / 398.1 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.0001008/0.4685, allocations: 118.2 kB / 0.5392 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.4686, allocations: 11.77 kB / 0.5392 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.469, allocations: 176.9 kB / 0.5394 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.469, allocations: 5.328 kB / 0.5394 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.469, allocations: 3.938 kB / 0.5394 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.469, allocations: 1.375 kB / 0.5394 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.4693, allocations: 213.2 kB / 0.5396 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4693, allocations: 1.406 kB / 0.5396 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.4695, allocations: 41.06 kB / 0.5397 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4695, allocations: 1.062 kB / 0.5397 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.4695, allocations: 6.562 kB / 0.5397 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002931/0.4698, allocations: 0.5869 MB / 0.5402 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4699, allocations: 3.984 kB / 0.5402 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.4703, allocations: 293.8 kB / 0.5405 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.4704, allocations: 106.7 kB / 0.5406 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4704, allocations: 1 kB / 0.5406 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4706, allocations: 15.41 kB / 0.5406 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4706, allocations: 9.672 kB / 0.5406 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.4706, allocations: 7.875 kB / 0.5407 GB, free: 5.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.4707, allocations: 94.2 kB / 0.5407 GB, free: 5.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4707, allocations: 0 / 0.5407 GB, free: 5.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.4711, allocations: 78.44 kB / 0.5408 GB, free: 5.43 MB / 398.1 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.0003175/0.4714, allocations: 167.5 kB / 0.541 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.4718, allocations: 126.8 kB / 0.5411 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4718, allocations: 288 / 0.5411 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.472, allocations: 80.36 kB / 0.5412 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4724, allocations: 16.23 kB / 0.5412 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.473, allocations: 311.8 kB / 0.5415 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4733, allocations: 0.7104 MB / 0.5422 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.4734, allocations: 8.312 kB / 0.5422 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.4734, allocations: 22.8 kB / 0.5422 GB, free: 4.258 MB / 398.1 MB Notification: Performance of SimCode: time 1.562e-06/0.4734, allocations: 1.281 kB / 0.5422 GB, free: 4.258 MB / 398.1 MB Notification: Performance of Templates: time 0.005385/0.4788, allocations: 2.364 MB / 0.5445 GB, free: 3.074 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) 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.0.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) Reference file matches