Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.00131/0.00131, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001486/0.001486, allocations: 214 kB / 23.75 MB, free: 4.672 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2608/0.2608, allocations: 46.94 MB / 360.8 MB, free: 4.16 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 79.88 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3133, allocations: 66.09 MB / 0.5608 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003261/0.3166, allocations: 1.709 MB / 0.5624 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3182, allocations: 0.854 MB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.3183, allocations: 4 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.3185, allocations: 43.75 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3187, allocations: 47.73 kB / 0.5634 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.3191, allocations: 111.6 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.3193, allocations: 147.2 kB / 0.5636 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.3194, allocations: 13 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.3196, allocations: 71.69 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3197, allocations: 75.67 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3198, allocations: 4 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.3201, allocations: 163.8 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.3202, allocations: 43.83 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.3203, allocations: 63.55 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3206, allocations: 209 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3206, allocations: 0 / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3206, allocations: 0 / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3206, allocations: 0 / 0.5642 GB, free: 0.6992 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006408/0.3213, allocations: 393.5 kB / 0.5646 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3213, allocations: 12.03 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.3214, allocations: 50.73 kB / 0.5646 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.3219, allocations: 52.78 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3222, allocations: 166.2 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3222, allocations: 16.36 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.3222, allocations: 15.94 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.3227, allocations: 233.3 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3227, allocations: 3.938 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.3227, allocations: 11.98 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.3228, allocations: 19.98 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.3232, allocations: 223.8 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3245, allocations: 0.69 MB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.3248, allocations: 102.4 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3249, allocations: 44.81 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3249, allocations: 0 / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3249, allocations: 34.5 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3249, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005583/0.3255, allocations: 177.4 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3255, allocations: 55.34 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3258, allocations: 187.2 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3258, allocations: 25.7 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3259, allocations: 139.9 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3259, allocations: 31.77 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.326, allocations: 37.66 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3262, allocations: 322.8 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3263, allocations: 43.95 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3265, allocations: 105.9 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.3268, allocations: 158.6 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3268, allocations: 0 / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004416/0.3273, allocations: 189.3 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3273, allocations: 8 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3273, allocations: 0 / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3273, allocations: 4 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.3283, allocations: 92.11 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3298, allocations: 1.809 MB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3299, allocations: 23.91 kB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3299, allocations: 4 kB / 0.5695 GB, free: 10.93 MB / 414.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 (14): * Single equations (assignments): 11 * 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.0001442/0.3301, allocations: 145.7 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3301, allocations: 16 kB / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.3306, allocations: 178.8 kB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3306, allocations: 8 kB / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3306, allocations: 0 / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3306, allocations: 0 / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.3309, allocations: 220.5 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3309, allocations: 0 / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.3316, allocations: 75.91 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.3316, allocations: 4 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3316, allocations: 3.984 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3329, allocations: 1.77 MB / 0.5719 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3329, allocations: 8.047 kB / 0.5719 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.3333, allocations: 247.2 kB / 0.5721 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.3334, allocations: 15.91 kB / 0.5721 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3334, allocations: 4 kB / 0.5721 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3336, allocations: 7.984 kB / 0.5721 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.3336, allocations: 7.984 kB / 0.5721 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3336, allocations: 11.98 kB / 0.5721 GB, free: 8.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3338, allocations: 136.9 kB / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3338, allocations: 0 / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000334/0.3341, allocations: 43.94 kB / 0.5723 GB, free: 7.895 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 (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008695/0.335, allocations: 0.7864 MB / 0.5731 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3362, allocations: 200.1 kB / 0.5733 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3362, allocations: 0 / 0.5733 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.3369, allocations: 99.77 kB / 0.5734 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.3373, allocations: 53.42 kB / 0.5734 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.3402, allocations: 2.102 MB / 0.5755 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3406, allocations: 0.7397 MB / 0.5762 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.3407, allocations: 33.41 kB / 0.5762 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3408, allocations: 43.42 kB / 0.5763 GB, free: 3.676 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3408, allocations: 0 / 0.5763 GB, free: 3.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.3745, allocations: 5.202 MB / 0.5814 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.16, allocations: 10.81 kB / 0.5814 GB, free: 14.62 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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: 16.27319113817066]