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.001499/0.0015, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.89 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3468, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002989/0.3499, allocations: 1.809 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.352, allocations: 1.404 MB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.3521, allocations: 1.281 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.3524, allocations: 39.83 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3525, allocations: 56.3 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.3531, allocations: 243 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3532, allocations: 110.8 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.3533, allocations: 6.812 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3535, allocations: 57.53 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.3536, allocations: 52.39 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3536, allocations: 4.344 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006975/0.3543, allocations: 0.5042 MB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.3543, allocations: 18.62 kB / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.3544, allocations: 41.48 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.3549, allocations: 365.8 kB / 0.5363 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3549, allocations: 0 / 0.5363 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3549, allocations: 0 / 0.5363 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3549, allocations: 1.188 kB / 0.5363 GB, free: 10.16 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.0005731/0.3555, allocations: 440.7 kB / 0.5367 GB, free: 9.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3556, allocations: 8.5 kB / 0.5367 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.3556, allocations: 19.16 kB / 0.5367 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.3558, allocations: 175.5 kB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3558, allocations: 13.62 kB / 0.5369 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3558, allocations: 15.84 kB / 0.5369 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3562, allocations: 142.6 kB / 0.537 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3562, allocations: 0 / 0.537 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3562, allocations: 5.375 kB / 0.5371 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3562, allocations: 2.438 kB / 0.5371 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.3566, allocations: 141.3 kB / 0.5372 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.3575, allocations: 0.5095 MB / 0.5377 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.3578, allocations: 99.41 kB / 0.5378 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3579, allocations: 58.02 kB / 0.5378 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3579, allocations: 2.062 kB / 0.5378 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.358, allocations: 35.47 kB / 0.5379 GB, free: 8.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.358, allocations: 0 / 0.5379 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004845/0.3585, allocations: 164.6 kB / 0.538 GB, free: 8.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3585, allocations: 60.44 kB / 0.5381 GB, free: 8.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.3586, allocations: 109.9 kB / 0.5382 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3586, allocations: 30.86 kB / 0.5382 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.3587, allocations: 120.3 kB / 0.5383 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3587, allocations: 35.77 kB / 0.5384 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.3588, allocations: 40.86 kB / 0.5384 GB, free: 8.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3589, allocations: 321 kB / 0.5387 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.359, allocations: 41.59 kB / 0.5388 GB, free: 7.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3592, allocations: 83.34 kB / 0.5388 GB, free: 7.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3595, allocations: 131.5 kB / 0.539 GB, free: 7.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3595, allocations: 3.938 kB / 0.539 GB, free: 7.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003504/0.3599, allocations: 157.4 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3599, allocations: 9.406 kB / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3599, allocations: 2.219 kB / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3599, allocations: 6.141 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.3602, allocations: 45.47 kB / 0.5392 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003413/0.3605, allocations: 0.5845 MB / 0.5397 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3606, allocations: 18.97 kB / 0.5398 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3607, allocations: 21.16 kB / 0.5398 GB, free: 6.953 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 9.007e-05/0.3608, allocations: 118 kB / 0.5399 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3608, allocations: 4.219 kB / 0.5399 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.3612, allocations: 168.6 kB / 0.5401 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3612, allocations: 4.891 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3612, allocations: 0 / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.3613, allocations: 98.19 kB / 0.5402 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3613, allocations: 8.906 kB / 0.5402 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3615, allocations: 8.172 kB / 0.5402 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3615, allocations: 13.11 kB / 0.5402 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005039/0.362, allocations: 242 kB / 0.5404 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005151/0.3626, allocations: 376.9 kB / 0.5408 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001446/0.3627, allocations: 63.36 kB / 0.5408 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.535e-05/0.3628, allocations: 91 kB / 0.5409 GB, free: 6.016 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3628, allocations: 0 / 0.5409 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.3636, allocations: 250 kB / 0.5412 GB, free: 5.871 MB / 398.1 MB Notification: Performance of SimCode: time 0.000693/0.3643, allocations: 0.7221 MB / 0.5419 GB, free: 5.184 MB / 398.1 MB Notification: Performance of Templates: time 0.006191/0.3705, allocations: 2.911 MB / 0.5447 GB, free: 3.723 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/jenkins1/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/jenkins1/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