Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.001286/0.001286, allocations: 110 kB / 20.43 MB, free: 1.453 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.001406/0.001406, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 8 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.2274/0.2274, allocations: 46.92 MB / 360.8 MB, free: 4.168 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 83.86 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003039/0.303, allocations: 1.679 MB / 0.5624 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3046, allocations: 0.9241 MB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.3046, allocations: 0 / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3048, allocations: 31.83 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.305, allocations: 51.73 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.3055, allocations: 146.7 kB / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3057, allocations: 139.3 kB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.3057, allocations: 5.438 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.3058, allocations: 59.72 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.306, allocations: 75.66 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.306, allocations: 4 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.3063, allocations: 211.6 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.3064, allocations: 43.88 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3065, allocations: 63.55 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.3069, allocations: 241 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3069, allocations: 7.938 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3069, allocations: 0 / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3069, allocations: 0 / 0.5643 GB, free: 0.6016 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006401/0.3075, allocations: 401.4 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3076, allocations: 8.031 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.3076, allocations: 50.73 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.3087, allocations: 120.7 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.309, allocations: 170.2 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.309, allocations: 16.38 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3091, allocations: 12.38 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.3097, allocations: 317.5 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.3098, allocations: 0 / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3098, allocations: 7.984 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.3098, allocations: 19.98 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.3106, allocations: 319.6 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3121, allocations: 0.8145 MB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.3129, allocations: 206.3 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.3131, allocations: 84.84 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3132, allocations: 11.98 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3132, allocations: 30.56 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3132, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001053/0.3143, allocations: 297.5 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3143, allocations: 55.39 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3145, allocations: 179.3 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3145, allocations: 33.8 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3146, allocations: 147.6 kB / 0.5675 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.3147, allocations: 39.67 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.3148, allocations: 53.62 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3149, allocations: 322.8 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.3152, allocations: 79.91 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3156, allocations: 142.8 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.3162, allocations: 218.6 kB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3162, allocations: 0 / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007396/0.3169, allocations: 273.2 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.317, allocations: 8 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.317, allocations: 3.938 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.317, allocations: 4 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.3174, allocations: 75.92 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.3186, allocations: 1.793 MB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.3188, allocations: 23.83 kB / 0.5704 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3188, allocations: 15.98 kB / 0.5705 GB, free: 9.969 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 (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.000166/0.319, allocations: 143.3 kB / 0.5706 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.319, allocations: 15.89 kB / 0.5706 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008/0.3198, allocations: 266.7 kB / 0.5709 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3198, allocations: 4 kB / 0.5709 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3198, allocations: 4 kB / 0.5709 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3199, allocations: 0 / 0.5709 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.3202, allocations: 232.5 kB / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3202, allocations: 0 / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.3205, allocations: 75.8 kB / 0.5712 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3205, allocations: 0 / 0.5712 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.3206, allocations: 7.984 kB / 0.5712 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.3217, allocations: 1.785 MB / 0.5729 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3217, allocations: 0 / 0.5729 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.3224, allocations: 319.5 kB / 0.5732 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.3225, allocations: 11.91 kB / 0.5732 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.3225, allocations: 11.98 kB / 0.5732 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3227, allocations: 4 kB / 0.5733 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.3228, allocations: 19.95 kB / 0.5733 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3228, allocations: 7.984 kB / 0.5733 GB, free: 6.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.3229, allocations: 136.9 kB / 0.5734 GB, free: 6.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3229, allocations: 4 kB / 0.5734 GB, free: 6.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000371/0.3233, allocations: 63.83 kB / 0.5735 GB, free: 6.734 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 (10): * Single equations (assignments): 7 * 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.001141/0.3244, allocations: 0.8724 MB / 0.5743 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008451/0.3253, allocations: 235.6 kB / 0.5746 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3253, allocations: 448 / 0.5746 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.3257, allocations: 131.8 kB / 0.5747 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.326, allocations: 12 kB / 0.5747 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.3297, allocations: 2.348 MB / 0.577 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3301, allocations: 0.7397 MB / 0.5777 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3303, allocations: 69.34 kB / 0.5778 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.3304, allocations: 51.39 kB / 0.5778 GB, free: 2.109 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3304, allocations: 0 / 0.5778 GB, free: 2.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.363, allocations: 4.981 MB / 0.5827 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/12.99, allocations: 8.703 kB / 0.5827 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.093309642979875]