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.001287/0.001287, allocations: 114 kB / 20.44 MB, free: 1.469 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.001451/0.001451, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2411/0.2411, allocations: 46.92 MB / 360.8 MB, free: 4.207 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.002289/0.002289, allocations: 79.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3122, allocations: 66.08 MB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003213/0.3154, allocations: 1.82 MB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3168, allocations: 0.8462 MB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.3169, allocations: 4 kB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.3171, allocations: 43.75 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.3174, allocations: 75.64 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3176, allocations: 71.67 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3178, allocations: 139.4 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.3178, allocations: 9.812 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.318, allocations: 71.75 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3182, allocations: 91.7 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3182, allocations: 4 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3183, allocations: 71.88 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.3184, allocations: 39.83 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.3185, allocations: 31.8 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.3187, allocations: 151.3 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3187, allocations: 0 / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3187, allocations: 0 / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3187, allocations: 0 / 0.5641 GB, free: 0.8594 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.0005649/0.3193, allocations: 329.9 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3194, allocations: 12.03 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.3194, allocations: 46.73 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.3197, allocations: 32.81 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.3199, allocations: 130.4 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3199, allocations: 16.34 kB / 0.5647 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.32, allocations: 11.94 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.3203, allocations: 181.4 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3204, allocations: 0 / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3204, allocations: 0 / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.3204, allocations: 15.92 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3207, allocations: 135.8 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/0.3217, allocations: 0.6162 MB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.322, allocations: 110.6 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3221, allocations: 36.83 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3221, allocations: 3.938 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3222, allocations: 34.56 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3222, allocations: 0 / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004248/0.3226, allocations: 133.6 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3226, allocations: 63.33 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3227, allocations: 126 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3228, allocations: 25.7 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.3229, allocations: 124 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3229, allocations: 23.95 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.3229, allocations: 33.7 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3231, allocations: 318.8 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3232, allocations: 43.95 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3233, allocations: 83.7 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.3236, allocations: 155.5 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3236, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003335/0.324, allocations: 153.4 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.324, allocations: 8 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.324, allocations: 0 / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.324, allocations: 8.25 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3242, allocations: 51.91 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3242, allocations: 0 / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.3243, allocations: 19.88 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3243, allocations: 8 kB / 0.5671 GB, free: 13.54 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.0001223/0.3244, allocations: 141.6 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3244, allocations: 7.953 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.3248, allocations: 118 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3248, allocations: 3.984 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3248, allocations: 0 / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3248, allocations: 4 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.325, allocations: 168.6 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.325, allocations: 0 / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.3252, allocations: 35.91 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3252, allocations: 4 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3252, allocations: 0 / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3252, allocations: 0 / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3252, allocations: 4 kB / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.3255, allocations: 211.3 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.3255, allocations: 11.94 kB / 0.5678 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3255, allocations: 4 kB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.3256, allocations: 4 kB / 0.5678 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.3256, allocations: 7.984 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3256, allocations: 4 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.373e-05/0.3257, allocations: 94.02 kB / 0.5679 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3257, allocations: 4 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.326, allocations: 27.89 kB / 0.5679 GB, free: 12.62 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.0006716/0.3267, allocations: 0.748 MB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.327, allocations: 108.2 kB / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.327, allocations: 0 / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3271, allocations: 35.97 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3273, allocations: 11.98 kB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3294, allocations: 1.679 MB / 0.5704 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3298, allocations: 0.7157 MB / 0.5711 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.833e-05/0.3298, allocations: 24.45 kB / 0.5712 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.3299, allocations: 23.44 kB / 0.5712 GB, free: 9.102 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3299, allocations: 4 kB / 0.5712 GB, free: 9.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3574, allocations: 2.451 MB / 0.5736 GB, free: 6.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.38, allocations: 11.67 kB / 0.5736 GB, free: 6.766 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.421281730988994]