Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 117.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 200.7 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4575, allocations: 62.43 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003286/0.4609, allocations: 1.8 MB / 0.5328 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.4623, allocations: 0.8274 MB / 0.5336 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.4624, allocations: 1.375 kB / 0.5336 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.4626, allocations: 49.36 kB / 0.5336 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.4629, allocations: 72.09 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.4631, allocations: 68.3 kB / 0.5338 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.4633, allocations: 137.3 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.4634, allocations: 6.875 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.4636, allocations: 76.73 kB / 0.534 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.4638, allocations: 80.67 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4638, allocations: 8.062 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.464, allocations: 65.92 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.464, allocations: 34.55 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.4641, allocations: 38.05 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.4644, allocations: 145.6 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4645, allocations: 1.531 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4645, allocations: 0 / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4645, allocations: 0 / 0.5343 GB, free: 11.28 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005812/0.4651, allocations: 411.5 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4651, allocations: 9.812 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.4655, allocations: 38.28 kB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.4656, allocations: 191 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.4657, allocations: 4.781 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.4657, allocations: 22.62 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.4661, allocations: 179.2 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4661, allocations: 1.094 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.4661, allocations: 5.094 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.4661, allocations: 11.72 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.4665, allocations: 131.4 kB / 0.5353 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008039/0.4673, allocations: 0.6446 MB / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.4676, allocations: 112.6 kB / 0.536 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4677, allocations: 40.89 kB / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4678, allocations: 1.375 kB / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4678, allocations: 34.56 kB / 0.5361 GB, free: 9.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4678, allocations: 1.375 kB / 0.5361 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004296/0.4682, allocations: 151.7 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.4683, allocations: 52.75 kB / 0.5363 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4684, allocations: 126.6 kB / 0.5364 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4684, allocations: 25.7 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.4685, allocations: 129 kB / 0.5366 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.4685, allocations: 23.8 kB / 0.5366 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.4686, allocations: 32.42 kB / 0.5366 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.4687, allocations: 316.4 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.4688, allocations: 41.89 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.469, allocations: 85.3 kB / 0.537 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.4692, allocations: 154.2 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4693, allocations: 1.188 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003487/0.4696, allocations: 153.5 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4696, allocations: 5.062 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4696, allocations: 2.469 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.4697, allocations: 7.781 kB / 0.5374 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.4699, allocations: 53.78 kB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4699, allocations: 2.469 kB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.47, allocations: 19.72 kB / 0.5374 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.47, allocations: 5.688 kB / 0.5374 GB, free: 8.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.4701, allocations: 134.8 kB / 0.5376 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.4701, allocations: 7.328 kB / 0.5376 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.4705, allocations: 123.9 kB / 0.5377 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4705, allocations: 5.109 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4705, allocations: 0 / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4705, allocations: 1.031 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.4707, allocations: 197.2 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4708, allocations: 4 kB / 0.5379 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.471, allocations: 36.72 kB / 0.5379 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.471, allocations: 5.094 kB / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.471, allocations: 0 / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.471, allocations: 1.125 kB / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.471, allocations: 0 / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.4713, allocations: 209.6 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.4714, allocations: 87.58 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.4714, allocations: 5.188 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.4715, allocations: 3.562 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4715, allocations: 10.58 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4715, allocations: 2.031 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.685e-05/0.4716, allocations: 93.8 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.4716, allocations: 0 / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4719, allocations: 30.95 kB / 0.5383 GB, free: 7.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.472, allocations: 107.1 kB / 0.5384 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.4724, allocations: 90.19 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4724, allocations: 0 / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.4725, allocations: 46.5 kB / 0.5386 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.4727, allocations: 23.08 kB / 0.5386 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.4732, allocations: 250.2 kB / 0.5388 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.4735, allocations: 0.7063 MB / 0.5395 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.193e-05/0.4736, allocations: 30.89 kB / 0.5396 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.4737, allocations: 11.59 kB / 0.5396 GB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4737, allocations: 3.938 kB / 0.5396 GB, free: 6.578 MB / 398.1 MB Notification: Performance of Templates: time 0.003644/0.4773, allocations: 0.9404 MB / 0.5405 GB, free: 6.125 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches