Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 111.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 186.1 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.2 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3499, allocations: 60.83 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002483/0.3524, allocations: 1.64 MB / 0.5212 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3537, allocations: 0.8808 MB / 0.5221 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.3537, allocations: 1.281 kB / 0.5221 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.3539, allocations: 36.05 kB / 0.5221 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3541, allocations: 46.95 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.3546, allocations: 130.5 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3547, allocations: 143.9 kB / 0.5224 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.3548, allocations: 18.81 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.3549, allocations: 61.53 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.355, allocations: 63.72 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.355, allocations: 8.406 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.3554, allocations: 203.5 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.3554, allocations: 44.8 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.3555, allocations: 59.94 kB / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.3559, allocations: 248 kB / 0.5231 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3559, allocations: 5.125 kB / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3559, allocations: 0 / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3559, allocations: 0 / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000523/0.3564, allocations: 469.8 kB / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3565, allocations: 10.17 kB / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.3577, allocations: 117.8 kB / 0.5237 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3579, allocations: 235.1 kB / 0.5239 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3579, allocations: 14.06 kB / 0.5239 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.3579, allocations: 11.88 kB / 0.5239 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.3587, allocations: 326.1 kB / 0.5242 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3587, allocations: 0 / 0.5242 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3587, allocations: 6.344 kB / 0.5242 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.3588, allocations: 20.33 kB / 0.5242 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.3596, allocations: 317.2 kB / 0.5245 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.3609, allocations: 0.8239 MB / 0.5253 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.3617, allocations: 221.1 kB / 0.5256 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.362, allocations: 83.45 kB / 0.5256 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.362, allocations: 15.22 kB / 0.5257 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.362, allocations: 30.56 kB / 0.5257 GB, free: 15.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3621, allocations: 0 / 0.5257 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000973/0.363, allocations: 296.3 kB / 0.526 GB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3631, allocations: 57.16 kB / 0.526 GB, free: 15.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3632, allocations: 186.1 kB / 0.5262 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3633, allocations: 31.08 kB / 0.5262 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.3633, allocations: 140 kB / 0.5264 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.3634, allocations: 41.12 kB / 0.5264 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.3635, allocations: 50.17 kB / 0.5264 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3636, allocations: 327 kB / 0.5268 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.3639, allocations: 78.66 kB / 0.5268 GB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.3643, allocations: 149.6 kB / 0.527 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.3649, allocations: 216.2 kB / 0.5272 GB, free: 14.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3649, allocations: 0 / 0.5272 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000763/0.3657, allocations: 281.1 kB / 0.5275 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3657, allocations: 6.375 kB / 0.5275 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3657, allocations: 2.594 kB / 0.5275 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3657, allocations: 6.25 kB / 0.5275 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.3662, allocations: 82.17 kB / 0.5275 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.367, allocations: 1.784 MB / 0.5293 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3673, allocations: 28.25 kB / 0.5293 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.3673, allocations: 13.14 kB / 0.5293 GB, free: 12.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.3674, allocations: 145.3 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3675, allocations: 22.77 kB / 0.5295 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.3683, allocations: 269.1 kB / 0.5297 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3683, allocations: 0 / 0.5297 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3683, allocations: 4 kB / 0.5297 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.3684, allocations: 89.17 kB / 0.5298 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3684, allocations: 1.438 kB / 0.5298 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3687, allocations: 8.172 kB / 0.5298 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.3687, allocations: 17.72 kB / 0.5299 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001071/0.3698, allocations: 368 kB / 0.5302 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001081/0.3709, allocations: 0.4996 MB / 0.5307 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002987/0.3712, allocations: 84.59 kB / 0.5308 GB, free: 11.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3713, allocations: 141.7 kB / 0.5309 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3713, allocations: 0 / 0.5309 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3724, allocations: 291.4 kB / 0.5312 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007527/0.3732, allocations: 0.7959 MB / 0.532 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Templates: time 0.00754/0.3808, allocations: 4.039 MB / 0.5359 GB, free: 8.527 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches