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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.002146/0.002146, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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.2265/0.2265, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 87.8 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.393, allocations: 66.09 MB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003338/0.3964, allocations: 1.773 MB / 0.5625 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3979, allocations: 0.7723 MB / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.3979, allocations: 0 / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.3982, allocations: 35.78 kB / 0.5632 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3985, allocations: 79.64 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3987, allocations: 71.66 kB / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3989, allocations: 135.5 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.399, allocations: 14.08 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.3992, allocations: 79.69 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3994, allocations: 87.64 kB / 0.5637 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3994, allocations: 8 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3995, allocations: 47.97 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.3996, allocations: 27.84 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.3997, allocations: 35.8 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.4, allocations: 139.5 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4, allocations: 0 / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4, allocations: 3.938 kB / 0.5639 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4, allocations: 0 / 0.5639 GB, free: 0.8633 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.0006165/0.4006, allocations: 333.9 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4006, allocations: 11.97 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.4007, allocations: 42.75 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.401, allocations: 40.81 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4012, allocations: 126.5 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4012, allocations: 12.36 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.4013, allocations: 11.94 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.4017, allocations: 180 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4017, allocations: 0 / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4017, allocations: 0 / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.4017, allocations: 15.98 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.4021, allocations: 135.8 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.403, allocations: 0.5466 MB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.4033, allocations: 106.7 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.4035, allocations: 44.77 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4035, allocations: 4 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4035, allocations: 30.56 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4035, allocations: 0 / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000445/0.404, allocations: 133.6 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.404, allocations: 55.34 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4041, allocations: 133.3 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4042, allocations: 37.7 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.4043, allocations: 120 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.4043, allocations: 27.78 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.4043, allocations: 33.67 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4045, allocations: 322.8 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4046, allocations: 35.91 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4048, allocations: 97.73 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.4051, allocations: 151.7 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4051, allocations: 0 / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003282/0.4054, allocations: 157.7 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4054, allocations: 4 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4054, allocations: 8 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4055, allocations: 4 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4056, allocations: 39.91 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4056, allocations: 4.328 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.4057, allocations: 19.95 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4058, allocations: 7.984 kB / 0.5668 GB, free: 13.61 MB / 414.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.0001264/0.4059, allocations: 133.7 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.4059, allocations: 7.953 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.4063, allocations: 125.9 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4063, allocations: 0 / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4063, allocations: 0 / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4063, allocations: 4 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.4065, allocations: 172.6 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4065, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.4066, allocations: 27.98 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4066, allocations: 0 / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4067, allocations: 0 / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4067, allocations: 3.984 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4067, allocations: 0 / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.407, allocations: 219.3 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.407, allocations: 7.953 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.407, allocations: 3.984 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.4071, allocations: 7.984 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.4072, allocations: 3.984 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4072, allocations: 8 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.4072, allocations: 91.27 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4072, allocations: 4 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.4075, allocations: 23.88 kB / 0.5677 GB, free: 12.7 MB / 414.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.0006783/0.4082, allocations: 0.7552 MB / 0.5684 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.4085, allocations: 91.86 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4085, allocations: 0.5 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4086, allocations: 47.91 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.4088, allocations: 9.875 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.411, allocations: 1.673 MB / 0.5702 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.4111, allocations: 109.2 kB / 0.5703 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.253e-05/0.4112, allocations: 24.47 kB / 0.5703 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.4113, allocations: 27.42 kB / 0.5703 GB, free: 9.801 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4113, allocations: 0 / 0.5703 GB, free: 9.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4439, allocations: 2.789 MB / 0.573 GB, free: 7.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.29, allocations: 0 / 0.573 GB, free: 7.148 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.330766964238137]